summaryrefslogtreecommitdiff
path: root/src/LivingVillage.Desktop.Tests/DesktopTests.fs
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-09-20 15:14:23 +0800
committerSomhairle H. Marisol <[email protected]>2026-09-20 15:14:23 +0800
commit9724663602b4b1eb755bf334c475dc2c80e4b386 (patch)
tree681bfcc9f7bb6422ed80142702cfff1498f064b1 /src/LivingVillage.Desktop.Tests/DesktopTests.fs
parent7e197babfbb68d7f7d1866d6a0ca47cf17d3af23 (diff)
downloadliving-village-9724663602b4b1eb755bf334c475dc2c80e4b386.tar.gz
feat(m6a): add save speed and day-night controls
Diffstat (limited to 'src/LivingVillage.Desktop.Tests/DesktopTests.fs')
-rw-r--r--src/LivingVillage.Desktop.Tests/DesktopTests.fs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/LivingVillage.Desktop.Tests/DesktopTests.fs b/src/LivingVillage.Desktop.Tests/DesktopTests.fs
index ffcc6c0..650f757 100644
--- a/src/LivingVillage.Desktop.Tests/DesktopTests.fs
+++ b/src/LivingVillage.Desktop.Tests/DesktopTests.fs
@@ -61,3 +61,13 @@ type DesktopTests () =
Assert.IsTrue(result.Chronicle.Contains("dialogue"))
Assert.IsTrue(result.RumorTrace.Contains("receiver=-1"))
Assert.IsTrue(result.RumorTrace.Contains("depth=3"))
+
+ [<TestMethod>]
+ member _.DayNightStateChangesTheRenderProfile () =
+ let day = M6Presentation.profileAtTick (6L * Sim.ticksPerDay / 24L)
+ let night = M6Presentation.profileAtTick (22L * Sim.ticksPerDay / 24L)
+
+ Assert.AreEqual<M6DayNight>(Day, day.Mode)
+ Assert.AreEqual<M6DayNight>(Night, night.Mode)
+ Assert.AreNotEqual(day.Background, night.Background)
+ Assert.AreNotEqual(day.WorldTint, night.WorldTint)