mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
9 lines
189 B
Perl
9 lines
189 B
Perl
local test = require("test")
|
|
|
|
terra foo(a : double, b : double, c : double) : bool
|
|
return a < b or b < c
|
|
end
|
|
|
|
test.eq(foo(1,2,1),true)
|
|
test.eq(foo(2,1,2),true)
|
|
test.eq(foo(3,2,1),false) |