test(engine): Update test helpers and golden vectors for ecology to ensure consistency with recent test framework changes

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-04-08 20:33:35 -07:00
parent 63a96dd040
commit 862d8f95ad
2 changed files with 3 additions and 3 deletions

View file

@ -33,10 +33,10 @@ func setup(turns_total: int = 50) -> void:
_setup_grid_and_engine()
snap0 = _snapshot()
for t: int in range(10):
ecosystem.process_turn(game_map, _grid, t, SEED + t)
ecosystem.process_turn(game_map, _grid, SEED + t)
snap10 = _snapshot()
for t: int in range(10, turns_total):
ecosystem.process_turn(game_map, _grid, t, SEED + t)
ecosystem.process_turn(game_map, _grid, SEED + t)
snap50 = _snapshot()

View file

@ -9,7 +9,7 @@ const TileScript = preload("res://engine/src/map/tile.gd")
const HexUtilsScript = preload("res://engine/src/map/hex_utils.gd")
const EcosystemScript = preload("res://engine/src/modules/ecology/ecosystem.gd")
const EcologyDBScript = preload("res://engine/src/modules/ecology/ecology_db.gd")
const BiomeModelScript = preload("res://engine/src/models/world/biome_model.gd")
const BiomeModelScript = preload("res://engine/src/models/world/biome.gd")
const LandFaunaScript = preload("res://engine/src/models/world/land_fauna.gd")
const MarineFaunaScript = preload("res://engine/src/models/world/marine_fauna.gd")