summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/scheduler_brutal_unittest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scheduler_brutal_unittest.py b/src/scheduler_brutal_unittest.py
index 1ee6402..adfb417 100644
--- a/src/scheduler_brutal_unittest.py
+++ b/src/scheduler_brutal_unittest.py
@@ -15,7 +15,8 @@ def test_stateUpdate():
uut = UUT(cards, state)
- result = {0: 1, 1: 0}
+ # Unknown IDs in the result are silently ignored
+ result = {0: 1, 1: 0, 3: 0}
expected_state = {0: [0, 1, 1], 1: [0, 0, 0], 2: [0, 1, None]}
uut.update(result)