9bc76cdf8e
Invert helper function
2026-01-05 23:06:12 +01:00
b9a318a5f1
Improve test name
2026-01-05 22:51:30 +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
d2864fcc22
Give tests better names
2026-01-05 21:37:35 +01:00
14cfaaeed5
Generalize the genInteractionListThatEndsAtTime concept
2026-01-05 21:37:23 +01:00
0e112f313a
Swap test order
2026-01-05 20:27:09 +01:00
f787c2aa4e
Re-write tests to avoid ==>
2026-01-05 20:26:55 +01:00
4c22b27805
Remove a pointless test
2026-01-05 19:20:36 +01:00
15bf8db9f4
Make FakeHome independent of NightLightStateMachine
2026-01-04 20:18:37 +01:00
9531dee52b
Stop requiring the initial time in NightLightStateMachine
...
We're only fooling ourselves if we think that it's ready *right* after
construction anyway. After all, the initial state of the lights won't be
updated when the state machine is constructed.
2026-01-04 20:16:58 +01:00
db4434cd20
Remove Time on FakeHome
...
We'll have a lot more stuff that we need to compute from the actual
interactions, so let's just get the boilerplate ready.
2026-01-04 19:42:43 +01:00
48aaabde3b
Add tests for colors
2026-01-04 12:10:07 +01:00
7125fee28e
Parse color commands in FakeHome
2026-01-04 12:10:07 +01:00
6baf725765
Put Arbitraries on the entire test class
2026-01-04 12:10:07 +01:00
a741938f89
Stop propagating parse errors throughout the tests
2026-01-04 12:08:10 +01:00
109ebde64a
Write the first test
2026-01-04 12:08:10 +01:00