Skip to content

Added 33 tests across 3 new test files for world/worldgen modules.#443

Closed
github-actions[bot] wants to merge 1 commit intodevfrom
opencode/schedule-9255a6-20260410203402
Closed

Added 33 tests across 3 new test files for world/worldgen modules.#443
github-actions[bot] wants to merge 1 commit intodevfrom
opencode/schedule-9255a6-20260410203402

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Done. Created 3 test files with 33 new tests for world/worldgen:

Files created:

  • src/world/worldgen/biome_selector_tests.zig - 21 tests for biome selection algorithms
  • src/world/worldgen/terrain_shape_generator_tests.zig - 6 tests for terrain shape generator
  • src/world/worldgen/overworld_generator_tests.zig - 6 tests for overworld generator

Tests cover:

  • Voronoi biome selection (determinism, constraints, river override)
  • Score-based biome selection
  • Climate parameter computation
  • Blended biome selection
  • Simple/LOD biome selection
  • TerrainShapeGenerator initialization and subsystem accessors
  • Column data sampling and determinism
  • Cache recentering behavior
  • OverworldGenerator initialization, column info, and cache management

Triggered by scheduled workflow

New%20session%20-%202026-04-10T20%3A34%3A02.278Z
opencode session  |  github run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant