From 25674c8744c0214835a16d7b3a40bd3ba17cff05 Mon Sep 17 00:00:00 2001 From: Hazardu Date: Tue, 17 Dec 2024 10:55:33 +0100 Subject: [PATCH] reduced test count, array instead of range --- test/utils/test_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/utils/test_utils.py b/test/utils/test_utils.py index d8b9cec..eb87951 100644 --- a/test/utils/test_utils.py +++ b/test/utils/test_utils.py @@ -110,7 +110,7 @@ def elaborate(self, platform): return m -@pytest.mark.parametrize("size", range(1, 65)) +@pytest.mark.parametrize("size", [1,2,3,4,5,6,7,8,9,15,16,17,31,32,33,63,64,65,97,98,127,128]) class TestCountLeadingZeros(TestCaseWithSimulator): @pytest.fixture(scope="function", autouse=True) def setup_fixture(self, size): @@ -156,7 +156,7 @@ def elaborate(self, platform): return m -@pytest.mark.parametrize("size", range(1, 65)) +@pytest.mark.parametrize("size", [1,2,3,4,5,6,7,8,9,15,16,17,31,32,33,63,64,65,97,98,127,128]) class TestCountTrailingZeros(TestCaseWithSimulator): @pytest.fixture(scope="function", autouse=True) def setup_fixture(self, size):