summaryrefslogtreecommitdiff
path: root/src/LivingVillage.Desktop.Tests/P16UiTests.fs
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-09-22 01:53:24 +0800
committerSomhairle H. Marisol <[email protected]>2026-09-22 01:53:24 +0800
commit37953a4b58dfc5f3b8aedf10ad6f1474c2960767 (patch)
tree96b1d86ce3cfe33d8d9493ba7a68575f54c4f4b8 /src/LivingVillage.Desktop.Tests/P16UiTests.fs
parenta67e9262caca67f1078f77ed2f274a46e284c6c8 (diff)
downloadliving-village-37953a4b58dfc5f3b8aedf10ad6f1474c2960767.tar.gz
feat(desktop): P18 黄昏暖色真实渲染(加性暖色 veil + 双窗口光照 + 时段标签对齐)
Diffstat (limited to 'src/LivingVillage.Desktop.Tests/P16UiTests.fs')
-rw-r--r--src/LivingVillage.Desktop.Tests/P16UiTests.fs4
1 files changed, 4 insertions, 0 deletions
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<string>("夜晚", M6Presentation.timePeriodLabel 0L)
Assert.AreEqual<string>("清晨", M6Presentation.timePeriodLabel (6L * ticksPerHour))
Assert.AreEqual<string>("黄昏", M6Presentation.timePeriodLabel (19L * ticksPerHour))
+ // P18: 黄昏 covers the golden hour through 20:59; 21:00 onwards is 夜晚.
+ Assert.AreEqual<string>("黄昏", M6Presentation.timePeriodLabel (20L * ticksPerHour))
+ Assert.AreEqual<string>("黄昏", M6Presentation.timePeriodLabel (int64 20 * ticksPerHour + ticksPerHour * 3L / 4L))
+ Assert.AreEqual<string>("夜晚", M6Presentation.timePeriodLabel (21L * ticksPerHour))
[<TestMethod>]
member _.HudNightPaletteLeansCoolAndLabelsAreAtlasBacked () =