add test.close_world(bool)

This commit is contained in:
MihailRis
2024-12-10 19:14:51 +03:00
parent 9b4dd8f65e
commit d3f74b56fa
8 changed files with 30 additions and 11 deletions
+3 -1
View File
@@ -1,2 +1,4 @@
test.new_world("demo", "2019", "core:default")
print(world.get_generator())
assert(world.get_generator() == "core:default")
test.close_world(true)
assert(not world.is_open())