feat: validate expanded resource discovery
This commit is contained in:
@@ -36,10 +36,10 @@ func _run() -> void:
|
||||
"Runtime should not retain duplicate flat-world objects"
|
||||
)
|
||||
var resource_root := main_scene.get_node("JajceWorld/WorldObjects/ResourceNodes")
|
||||
_check(resource_root.get_child_count() == 8, "Runtime should contain eight Jajce ResourceNodes")
|
||||
_check(resource_root.get_child_count() == 12, "Runtime should contain twelve Jajce ResourceNodes")
|
||||
_check(
|
||||
simulation_manager.resource_states.size() == 8,
|
||||
"Simulation authority should bind all eight Jajce resources"
|
||||
simulation_manager.resource_states.size() == 12,
|
||||
"Simulation authority should bind all twelve Jajce resources"
|
||||
)
|
||||
|
||||
var navigation_map: RID = main_scene.get_world_3d().navigation_map
|
||||
@@ -102,7 +102,7 @@ func _run() -> void:
|
||||
)
|
||||
|
||||
if failures.is_empty():
|
||||
print("[TEST] Jajce runtime passed: 6 NPCs, 8 resources, typed sites")
|
||||
print("[TEST] Jajce runtime passed: 6 NPCs, 12 resources, typed sites")
|
||||
quit(0)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user