ludic/packages/ludic.render3d/tests/fakes
Orkuncakilkaya 7918103b8b render3d: ground_fill_golden.json is valid JSON (the cover and solid blocks each closed one brace too many)
gg_cover_json and gg_solid_json ended in plain strings with "}}", which only a template literal reads as one
brace: the cover's closed the top-level object before "solid", and the solid's left a stray "}" at the end.
The committed golden is fixed by hand to what the generator now writes.

ground_fill_test also checks the golden as JSON: one value with nothing after it (Json.parse reads the
first value and ignores the rest, so it alone would not have caught this), an object, its eleven sections
in order. The generator notes what the studio asked: past the density patch an empty tile reads 0 for R and
G (only past the map's edge does a texel clamp), and several clearings multiply.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 15:36:08 +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_golden.json is valid JSON (the cover and solid blocks each closed one brace too many) 2026-09-30 15:36:08 +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_golden.json is valid JSON (the cover and solid blocks each closed one brace too many) 2026-09-30 15:36:08 +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