Skip to content

Add 3 world test files, all tests pass#479

Open
MichaelFisher1997 wants to merge 1 commit intodevfrom
opencode/schedule-3efe4c-20260412203338
Open

Add 3 world test files, all tests pass#479
MichaelFisher1997 wants to merge 1 commit intodevfrom
opencode/schedule-3efe4c-20260412203338

Conversation

@MichaelFisher1997
Copy link
Copy Markdown
Collaborator

Summary: Added 3 test files with 50+ unit tests for the world module targeting dev:

Tests Added:

  • block_biome_tests.zig (47 tests): Biome.getSurfaceBlock(), Biome.getFillerBlock(), Biome.getOceanFloorBlock() for all biome types including transition biomes

  • chunk_mesh_tests.zig (5 tests): ChunkMesh.init creates null allocations, deinitWithoutRHI cleanup, subchunk arrays initialization

  • chunk_storage_extended_tests.zig (12 tests): ChunkStorage.getOrCreate idempotency, IChunkStorage interface wrapper, totalVertexCount, isChunkRenderable, next_job_token incrementing

All tests pass (zig build test exits with code 0).

Triggered by scheduled workflow

New%20session%20-%202026-04-12T20%3A33%3A37.265Z
opencode session  |  github run

@github-actions github-actions bot added documentation Improvements or additions to documentation world labels Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation world

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant