feat(citygen): City::validate and seed sweep tests

Also guarantees one building per district and repairs interiors split
by crossing partitions, both found by the new validation.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Jeffrey Wilcke
2026-10-12 17:21:08 +02:00
parent b781e60d73
commit 9ac713bbe9
5 changed files with 373 additions and 4 deletions

View File

@@ -11,3 +11,6 @@ rand_chacha.workspace = true
noise.workspace = true
thiserror.workspace = true
ron.workspace = true
[dev-dependencies]
postcard.workspace = true