From ceb45d4006426d616aef099aaf16f5c1d827e816 Mon Sep 17 00:00:00 2001 From: "Somhairle H. Marisol" Date: Mon, 28 Sep 2026 15:58:43 +0800 Subject: test(p39): 摆放/光晕/奇偶 spacing 回归 + 运行时证据帧 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- src/LivingVillage.Desktop.Tests/AssetPackTests.fs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/LivingVillage.Desktop.Tests/AssetPackTests.fs') 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 () = [] 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) -- cgit v1.2.3