positioning_movement_consolidated_tests

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

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

Extends: GdUnitTestSuite

Properties

  • Property: env: [AllSystemsTestEnvironment](./all-systems-test-environment/)
  • Property: positioner: Node2D
  • Property: collision_mapper: [CollisionMapper](./collision-mapper/)
  • Property: indicator_manager: [IndicatorManager](./indicator-manager/)
  • Property: tile_map: TileMapLayer
  • Property: runner: GdUnitSceneRunner

Constants

  • Constant: TILE_SIZE: int = int(GBTestConstants.DEFAULT_TILE_SIZE.x)
  • Constant: TEST_INDICATOR_SIZE: Vector2 = GBTestConstants.DEFAULT_TILE_SIZE
  • Constant: PERFORMANCE_TEST_OBJECT_COUNT: int = 10
  • Constant: PERFORMANCE_TEST_MOVE_COUNT: int = 20
  • Constant: PERFORMANCE_TEST_TIME_LIMIT_MS: int = 50
  • Constant: TEST_BASE_TILE: Vector2i = Vector2i(3, 3)
  • Constant: TEST_ORIGIN: Vector2 = Vector2(0, 0)
  • Constant: TEST_POSITION_NEW: Vector2 = Vector2(100, 100)
  • Constant: TEST_GRID_UNALIGNED_POS: Vector2 = Vector2(15, 25)
  • Constant: TEST_POSITIONER_OFFSET: Vector2 = Vector2(50, 50)
  • Constant: RELATIVE_POSITION_OFFSETS: Array[Vector2] = [Vector2.ZERO, Vector2(20, 0), Vector2(40, 20)]

Public Methods

build_collision_diagnostics

1
2
3
4
5
6
7
build_collision_diagnostics(
    iteration: int,
    tile_coords: Vector2i,
    positioner_world: Vector2,
    collision_world: Vector2,
    offsets: Dictionary
) -> String

before

1
before() -> void

before_test

1
before_test() -> void

after

1
after() -> void

test_positioner_basic_positioning

1
test_positioner_basic_positioning() -> void

test_positioner_with_collision_tracking

1
test_positioner_with_collision_tracking() -> void

test_positioner_indicator_updates

1
test_positioner_indicator_updates() -> void

test_movement_with_grid_alignment

1
test_movement_with_grid_alignment() -> void

test_multi_object_positioning

1
test_multi_object_positioning() -> void

test_positioner_boundary_conditions

1
test_positioner_boundary_conditions() -> void

test_positioner_performance_bulk_moves

1
test_positioner_performance_bulk_moves() -> void

test_positioner_integration_workflow

1
test_positioner_integration_workflow() -> void


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