indicator_rule_assignment_regression_test AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Test for RuleCheckIndicator rule assignment regression
Verifies that indicators properly evaluate rules and filter out indicators
at positions that should fail collision checks
Source File: /addons/grid_building/test/rules/assignment/indicator_rule_assignment_regression_test.gd
Extends: GdUnitTestSuite
Properties Property: runner: GdUnitSceneRunnerProperty: obj_parent: Node2DProperty: building_system: [BuildingSystem](./building-system/)Property: targeting_system: [GridTargetingSystem](./grid-targeting-system/)Property: indicator_manager: [IndicatorManager](./indicator-manager/)Property: positioner: Node2DProperty: map_layer: TileMapLayerProperty: placer: Node2DPrivate Properties Property: _env: [BuildingTestEnvironment](./building-test-environment/) (private)Property: _container: [GBCompositionContainer](./gb-composition-container/) (private)Property: _state: [GridTargetingState](./grid-targeting-state/) (private)Constants Constant: GBTestConstants := preload("res://addons/grid_building/test/scenes/env/gb_test_constants.gd")Constant: TILE_SIZE: Vector2 = GBTestConstants.DEFAULT_TILE_SIZEConstant: DEFAULT_POSITION: Vector2 = GBTestConstants.CENTERConstant: ORIGIN_POSITION: Vector2 = GBTestConstants.OFF_GRIDConstant: ORIGIN_TILE: Vector2i = Vector2i(0, 0)Public Methods before before_test after_test after find_center_indicator 1
find_center_indicator(indicators: Array[RuleCheckIndicator]) -> RuleCheckIndicator
create_collision_object_at 1
create_collision_object_at(position: Vector2) -> StaticBody2D
test_polygon_test_object_indicator_collision_filtering 1
test_polygon_test_object_indicator_collision_filtering() -> void
Test that indicators properly evaluate rules and filter out indicators
at positions that should fail collision checks
test_indicator_rule_assignment_during_creation 1
test_indicator_rule_assignment_during_creation() -> void
Test that rules are properly assigned to indicators during creation
test_indicator_rule_validation 1
test_indicator_rule_validation() -> void
Test that indicators properly validate rules when updated
test_polygon_test_object_center_tile_filtering 1
test_polygon_test_object_center_tile_filtering() -> void
Test the specific polygon_test_object scenario
Grid Building v5.0.8 | Generated 24/05/2026