From 9724663602b4b1eb755bf334c475dc2c80e4b386 Mon Sep 17 00:00:00 2001 From: "Somhairle H. Marisol" Date: Sun, 20 Sep 2026 15:14:23 +0800 Subject: feat(m6a): add save speed and day-night controls --- src/LivingVillage.Desktop.Tests/DesktopTests.fs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/LivingVillage.Desktop.Tests/DesktopTests.fs') 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")) + + [] + member _.DayNightStateChangesTheRenderProfile () = + let day = M6Presentation.profileAtTick (6L * Sim.ticksPerDay / 24L) + let night = M6Presentation.profileAtTick (22L * Sim.ticksPerDay / 24L) + + Assert.AreEqual(Day, day.Mode) + Assert.AreEqual(Night, night.Mode) + Assert.AreNotEqual(day.Background, night.Background) + Assert.AreNotEqual(day.WorldTint, night.WorldTint) -- cgit v1.2.3