mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
17 lines
305 B
Perl
Executable File
17 lines
305 B
Perl
Executable File
do
|
|
import "lib/addlanguage"
|
|
local a = 4
|
|
local b = add a,3,4+5,(function() terra one() return a end return one() end)() end
|
|
local inception = add add 3,4,a end,4 end
|
|
local test = require("test")
|
|
|
|
|
|
test.eq(b,20)
|
|
test.eq(inception,15)
|
|
end
|
|
|
|
do
|
|
import "lib/addlanguage"
|
|
local c = add 4,5 end
|
|
assert(9 == c)
|
|
end |