diff options
| author | Somhairle H. Marisol <[email protected]> | 2026-09-28 15:58:43 +0800 |
|---|---|---|
| committer | Somhairle H. Marisol <[email protected]> | 2026-09-28 15:58:43 +0800 |
| commit | ceb45d4006426d616aef099aaf16f5c1d827e816 (patch) | |
| tree | c67af5bc00c9cb3ef143986a292e9f7407d1030f /src/LivingVillage.Desktop.Tests/AssetPackTests.fs | |
| parent | 3460c31b3bce6ee417e1aae95071992ba60fbf63 (diff) | |
| download | living-village-ceb45d4006426d616aef099aaf16f5c1d827e816.tar.gz | |
test(p39): 摆放/光晕/奇偶 spacing 回归 + 运行时证据帧
- P39ArtTests 9 例:桥/船/灯笼/摊位/芦苇地形与确定性、NightLightTilesIncludeRoadLanterns、
StallsAndLanternsDoNotOverlapForOddAndEvenSpacing(奇 {3,5,7,11,13}/偶 {2,4,6,8,12})、
DegenerateSpacingPlacesNothing({0,1,-3} 返回空集)
- AssetPackTests 更新为 19 格 + 新索引;fsproj 注册 P39ArtTests
- scripts/make-p39-closeups.py:2x NEAREST 特写
- docs/维护说明.md 追加 P39 小节;证据 5 帧白块检查 0 命中,重复运行 byte-identical
- Release 全量 Desktop 195/195、Kernel 119/119
Diffstat (limited to 'src/LivingVillage.Desktop.Tests/AssetPackTests.fs')
| -rw-r--r-- | src/LivingVillage.Desktop.Tests/AssetPackTests.fs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/LivingVillage.Desktop.Tests/AssetPackTests.fs b/src/LivingVillage.Desktop.Tests/AssetPackTests.fs index 46513f9..85fc99c 100644 --- a/src/LivingVillage.Desktop.Tests/AssetPackTests.fs +++ b/src/LivingVillage.Desktop.Tests/AssetPackTests.fs @@ -43,7 +43,7 @@ type AssetPackTests () = [<TestMethod>] member _.Cc0StructureTileIndicesFitTheAtlasAndWaterHasTwoPhases () = - // Every P34 self-drawn structure cell must sit inside the 12-tile atlas band. + // Every P34/P39 self-drawn cell must sit inside the 19-tile atlas band. let indices = [ cc0TileIndexWaterA cc0TileIndexWaterB @@ -52,7 +52,14 @@ type AssetPackTests () = cc0TileIndexWallWood cc0TileIndexWallWindow cc0TileIndexRailing - cc0TileIndexDoor ] + cc0TileIndexDoor + cc0TileIndexBridgeCenter + cc0TileIndexBridgeEnd + cc0TileIndexBoatLeft + cc0TileIndexBoatRight + cc0TileIndexStoneLantern + cc0TileIndexStall + cc0TileIndexReeds ] for index in indices do Assert.IsTrue(index >= 0 && index < cc0TileCount, sprintf "cc0 tile index %d out of atlas" index) let width, _ = pngDimensions (assetPath cc0TileAtlasRelativePath) |
