Skip to content

Commit

Permalink
reduced test count, array instead of range
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazardu committed Dec 17, 2024
1 parent 4ca4707 commit 25674c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/utils/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 25674c8

Please sign in to comment.