Commit graph

19 commits

Author SHA1 Message Date
b3689108a7 Introduce ensurePartOfDayIs 2026-01-14 21:50:47 +01:00
8f53033db4 Add missing case to genInteraction 2026-01-14 21:02:12 +01:00
2950b21488 Implement the 'Left' button on the remote 2026-01-14 19:53:15 +01:00
6ecb6d07ac Simplify tests to prepare for a more complicated remote 2026-01-14 19:50:58 +01:00
b53151b4c5 Re-write tests without ==> 2026-01-09 19:23:19 +01:00
cefe696f97 Replace the 'initial interactions' concept with ensureStartsWithTimeChanged
This allows us to generate the case again where the list *just* contains
a TimeChanged interaction.
2026-01-09 19:16:47 +01:00
6ec9aa1b51 getInteractionsExcept -> genRandomInteractionsExcept 2026-01-09 06:02:48 +01:00
2da1972b06 Get rid of the [...]AndEndWith helper
I introduced this to test a very specific edge case right after
initialization, but it made all tests harder to read.
2026-01-08 22:30:47 +01:00
d7fac9c3d0 Verify that non-remotely controlled lights are on if they have power 2026-01-08 21:52:10 +01:00
d57ca23822 Make tests target specific lights when testing 2026-01-08 21:52:06 +01:00
75e1170cf2 Improve names for generators 2026-01-06 12:40:57 +01:00
fd103125e3 Automatically turn on lights at dawn 2026-01-06 09:36:42 +01:00
9bc76cdf8e Invert helper function 2026-01-05 23:06:12 +01:00
bb528e9942 Get rid of arbitraries that are only used once 2026-01-05 22:34:56 +01:00
7472825140 Demonstrate a bug 2026-01-05 22:27:02 +01:00
52e0ec85e9 Introduce the remote into FakeHome 2026-01-05 22:07:09 +01:00
cef2a20f7a Remove some ambiguity 2026-01-05 21:54:34 +01:00
14cfaaeed5 Generalize the genInteractionListThatEndsAtTime concept 2026-01-05 21:37:23 +01:00
f787c2aa4e Re-write tests to avoid ==> 2026-01-05 20:26:55 +01:00