indicator_positioning_regression_test
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Unit test for IndicatorFactory positioning regression
Source File: /addons/grid_building/test/positioning/regression/indicator_positioning_regression_test.gd
Extends: GdUnitTestSuite
Properties
- Property:
container : [GBCompositionContainer](./gb-composition-container/) - Property:
test_targeting_state: [GridTargetingState](./grid-targeting-state/) - Property:
test_indicator_template: PackedScene - Property:
test_parent: Node2D - Property:
test_tile_map: TileMapLayer - Property:
test_object: Node2D
Constants
- Constant:
TEST_CONTAINER: [GBCompositionContainer](./gb-composition-container/) = preload("res://addons/grid_building/test/resources/composition_containers/test_composition_container.tres")
Public Methods
before_test
| |
after_test
| |
test_indicator_positioning_at_multiple_offsets
| |
Test that indicators are positioned correctly at different tile offsets
test_indicators_without_targeting_state_position_at_origin
| |
Test that indicators without targeting state are positioned at (0,0)
test_null_targeting_state_components_handled_gracefully
| |
Test that null targeting state components don’t break positioning
Grid Building v5.0.8 | Generated 24/05/2026