extends GdUnitTestSuite ## NEO-153: thin main wiring helpers. const ContractHudMainWiring := preload("res://scripts/contract_hud_main_wiring.gd") const InteractableWorldBuilder := preload("res://scripts/interactable_world_builder.gd") func test_try_issue_key_input_returns_false_without_controller() -> void: # Arrange var event := InputEventKey.new() # Act var handled: bool = ContractHudMainWiring.try_issue_key_input(null, event) # Assert assert_bool(handled).is_false() func test_set_collision_shapes_disabled_recurses_tree() -> void: # Arrange var root := Node3D.new() var shape := CollisionShape3D.new() root.add_child(shape) # Act InteractableWorldBuilder.set_collision_shapes_disabled(root, true) # Assert assert_bool(shape.disabled).is_true() root.free()