test(simulation): Add test cases for abiotic biome validation, planet lifecycle stages, and water cycle dynamics

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-03-31 05:51:56 -07:00
parent 9479e1bd76
commit 5e85b094df
3 changed files with 5 additions and 5 deletions

View file

@ -7,8 +7,8 @@ import {
type TileState,
} from '@magic-civ/engine-ts'
import { WasmClimatePhysics, WasmEcologyPhysics, WasmMapGenerator, WasmGrid } from '@magic-civ/physics-rs'
import specData from '../../../../../engine/src/worlds/earth/climate_spec.json'
import climateParamsData from '../../../../../engine/src/worlds/earth/climate_params.json'
import specData from '../../../../../resources/worlds/earth/climate_spec.json'
import climateParamsData from '../../../../../resources/worlds/earth/climate_params.json'
const BIOLOGICAL_BIOMES = new Set([
'grassland', 'forest', 'savanna', 'jungle', 'alpine_meadow',

View file

@ -15,7 +15,7 @@ import {
type GridState,
type TurnStats,
} from '@magic-civ/engine-ts'
import climateParamsData from '../../../../../engine/src/worlds/earth/climate_params.json'
import climateParamsData from '../../../../../resources/worlds/earth/climate_params.json'
const params: Record<string, number> = Object.fromEntries(
Object.entries(climateParamsData as Record<string, unknown>)

View file

@ -14,8 +14,8 @@ import {
type TileState,
} from '@magic-civ/engine-ts'
import { WasmClimatePhysics, WasmMapGenerator, WasmGrid } from '@magic-civ/physics-rs'
import climateParamsData from '../../../../../engine/src/worlds/earth/climate_params.json'
import specData from '../../../../../engine/src/worlds/earth/climate_spec.json'
import climateParamsData from '../../../../../resources/worlds/earth/climate_params.json'
import specData from '../../../../../resources/worlds/earth/climate_spec.json'
// ── shared setup ──────────────────────────────────────────────────────────