1
require("import") -- the import fn
2
import("newobject1") -- import code
4
foo1 = newobject1.Foo_makeFoo() -- lua doesnt yet support static fns properly
5
assert(newobject1.Foo_fooCount() == 1) -- lua doesnt yet support static fns properly
8
assert(newobject1.Foo_fooCount() == 2)
12
assert(newobject1.Foo_fooCount() == 1)
16
assert(newobject1.Foo_fooCount() == 0)