From d2864fcc2276fa0fb3e5d0ab5edd14e53f8657df Mon Sep 17 00:00:00 2001 From: Sven van Heugten Date: Mon, 5 Jan 2026 21:37:35 +0100 Subject: [PATCH] Give tests better names --- NightLight.Core.Tests/NightLightTests.fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NightLight.Core.Tests/NightLightTests.fs b/NightLight.Core.Tests/NightLightTests.fs index a10c86d..9eaad9e 100644 --- a/NightLight.Core.Tests/NightLightTests.fs +++ b/NightLight.Core.Tests/NightLightTests.fs @@ -22,11 +22,11 @@ type NightLightTests() = fakeHome [ |])>] - let ``Lights should be white or yellow during the day`` (interactions: Interaction list) = + let ``All lights that are on should be white or yellow during the day`` (interactions: Interaction list) = let fakeHome = createFakeHomeWithNightLightAndInteract interactions fakeHome.ForAllLightsThatAreOn(fun (_, _, color) -> color = White || color = Yellow) [ |])>] - let ``Lights should be red during the night`` (interactions: Interaction list) = + let ``All lights that are on should be red during the night`` (interactions: Interaction list) = let fakeHome = createFakeHomeWithNightLightAndInteract interactions fakeHome.ForAllLightsThatAreOn(fun (_, _, color) -> color = Red)