Skip to content

Commit

Permalink
Add an @example for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Jan 24, 2022
1 parent 8ec8301 commit b52081a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ndindex/tests/test_crt.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def test_crt(m, v):
for m_i, v_i in zip(m, v):
assert v_i % m_i == res % m_i

@example(1, 2)
@given(integers(min_value=0), integers(min_value=0))
def test_ilcm(x, y):
L = ilcm(x, y)
Expand Down

0 comments on commit b52081a

Please sign in to comment.