polygon_origin_indicator_regression_test

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Regression test: Polygon test object should not generate indicator at (0,0) when centered This reproduces a specific bug where an unexpected indicator appears at tile (0,0) for the polygon test object when it’s centered on the positioning grid.

Source File: /addons/grid_building/test/integration/system_interactions/polygon_origin_indicator_regression_test.gd

Extends: GdUnitTestSuite

Properties

  • Property: test_env: [AllSystemsTestEnvironment](./all-systems-test-environment/)

Private Properties

  • Property: _indicator_manager: [IndicatorManager](./indicator-manager/) (private)
  • Property: _targeting_state: [GridTargetingState](./grid-targeting-state/) (private)
  • Property: _map: TileMapLayer (private)
  • Property: _manipulation_parent: Node2D (private)
  • Property: _runner: GdUnitSceneRunner (private)

Constants

  • Constant: ALL_SYSTEMS_ENV_PATH: String = GBTestConstants.ALL_SYSTEMS_ENV_PATH - AllSystemsTestEnvironment path for consistent test setup

Public Methods

before

1
before() -> void

before_test

1
before_test() -> void

after

1
after() -> void

test_polygon_test_object_no_indicator_at_origin_when_centered

1
test_polygon_test_object_no_indicator_at_origin_when_centered() -> void

test_polygon_test_object_valid_indicators_generated

1
test_polygon_test_object_valid_indicators_generated() -> void

test_polygon_test_object_centered_preview_flag

1
test_polygon_test_object_centered_preview_flag() -> void

test_proper_parent_architecture_maintained

1
test_proper_parent_architecture_maintained() -> void


Grid Building v5.0.8 | Generated 24/05/2026