From b3ba811610bf1a6ded287d8fe6df757508d01fa4 Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Tue, 24 Sep 2024 14:18:27 +0200 Subject: Scheduler update implementation --- src/scheduler_brutal_unittest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3