From e63470334adffcff3d85f5f6732ae3039c1c2230 Mon Sep 17 00:00:00 2001 From: Mateusz Marszalek Date: Mon, 9 Dec 2024 22:06:51 +0100 Subject: [PATCH] Fixed error in tests --- test/func_blocks/fu/fpu/test_lza.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/func_blocks/fu/fpu/test_lza.py b/test/func_blocks/fu/fpu/test_lza.py index 890bdc379..de32eb23c 100644 --- a/test/func_blocks/fu/fpu/test_lza.py +++ b/test/func_blocks/fu/fpu/test_lza.py @@ -93,7 +93,7 @@ async def lza_test(sim: TestbenchContext): {"shift_amount": 7, "is_zero": 0}, {"shift_amount": 7, "is_zero": 0}, ] - for i in range(len(test_cases) // 2): + for i in range(len(test_cases)): resp = await lza.predict_request_adapter.call(sim, test_cases[i]) assert resp["shift_amount"] == expected_results[2 * i]["shift_amount"]