mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
7 lines
231 B
Lua
7 lines
231 B
Lua
test.new_world("demo", "2019", "core:default")
|
|
assert(world.get_generator() == "core:default")
|
|
coroutine.yield()
|
|
assert(world.get_total_time() > 0.0)
|
|
print(world.get_total_time())
|
|
test.close_world(true)
|
|
assert(not world.is_open())
|