From 37953a4b58dfc5f3b8aedf10ad6f1474c2960767 Mon Sep 17 00:00:00 2001 From: "Somhairle H. Marisol" Date: Tue, 22 Sep 2026 01:53:24 +0800 Subject: feat(desktop): P18 黄昏暖色真实渲染(加性暖色 veil + 双窗口光照 + 时段标签对齐) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/LivingVillage.Desktop.Tests/P16UiTests.fs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/LivingVillage.Desktop.Tests/P16UiTests.fs') diff --git a/src/LivingVillage.Desktop.Tests/P16UiTests.fs b/src/LivingVillage.Desktop.Tests/P16UiTests.fs index b071dfa..2e474ac 100644 --- a/src/LivingVillage.Desktop.Tests/P16UiTests.fs +++ b/src/LivingVillage.Desktop.Tests/P16UiTests.fs @@ -111,6 +111,10 @@ type P16HudTests () = Assert.AreEqual("夜晚", M6Presentation.timePeriodLabel 0L) Assert.AreEqual("清晨", M6Presentation.timePeriodLabel (6L * ticksPerHour)) Assert.AreEqual("黄昏", M6Presentation.timePeriodLabel (19L * ticksPerHour)) + // P18: 黄昏 covers the golden hour through 20:59; 21:00 onwards is 夜晚. + Assert.AreEqual("黄昏", M6Presentation.timePeriodLabel (20L * ticksPerHour)) + Assert.AreEqual("黄昏", M6Presentation.timePeriodLabel (int64 20 * ticksPerHour + ticksPerHour * 3L / 4L)) + Assert.AreEqual("夜晚", M6Presentation.timePeriodLabel (21L * ticksPerHour)) [] member _.HudNightPaletteLeansCoolAndLabelsAreAtlasBacked () = -- cgit v1.2.3