2014-05-31 19:12:41 +00:00
|
|
|
local env = environment()
|
2014-06-13 15:26:05 +00:00
|
|
|
env = env:add_universe("u")
|
|
|
|
env = env:add_universe("v")
|
|
|
|
assert(env:is_universe("u"))
|
2014-05-31 19:12:41 +00:00
|
|
|
|
|
|
|
env:export("glvl1_mod.olean")
|
|
|
|
local env2 = import_modules("glvl1_mod")
|
2014-06-13 15:26:05 +00:00
|
|
|
assert(env2:is_universe("u"))
|
|
|
|
assert(env2:is_universe("v"))
|