ludic/packages/ludic.render3d/tests/fakes
Orkuncakilkaya 54e267dfa6 render3d: ground_fill's conformance test and the generator of its golden
tests/ground_fill_test.ludic compares gg_json (gf_hash over fixed inputs, Math.lerp cases whose order
matters, the yaw as model.vert turns by it, a hand-written density, one cover chunk with a clearing and
one solid chunk) line for line with tests/ground_fill_golden.json, and checks ground_fill draws exactly
the candidates and a solid layer's far bands a subset of band 0. The golden is written by
tests/gen/ground_fill_golden.ludic, run from the repository root; it is not committed here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 15:24:23 +03:00
..
ground_golden.ludic render3d: ground_fill's conformance test and the generator of its golden 2026-09-30 15:24:23 +03:00
ground_golden_check.ludic render3d: ground_fill's conformance test and the generator of its golden 2026-09-30 15:24:23 +03:00
ground_golden_json.ludic render3d: ground_fill's conformance test and the generator of its golden 2026-09-30 15:24:23 +03:00
ground_golden_things.ludic render3d: ground_fill's conformance test and the generator of its golden 2026-09-30 15:24:23 +03:00
tiles_file.ludic render3d: terrain_tiles_open_file(path, key, version, half, ox, oz) - a map's baked tiles opened for the CPU questions alone (terrain_height, _file, _smooth, terrain_ortho), with no device and no renderer booted: terrain_from_baked's opening without its coarse level on the GPU. False and nothing changed for another bake's key or version, a missing file, or a whole copy already kept (it answers first). tests/tiles_open_test: a bake written with LBAK's header answers its heights and photograph at a map origin of (300, -120), nothing on a device; the refusals leave no file open, and a bake opened after them answers. The hand-written tiles move to tests/fakes/tiles_file.ludic (payload, raw file, bake, the expected answer at an origin, the cache's snapshot), shared with height_file_test 2026-09-30 03:13:18 +03:00