Skip to content

Commit

Permalink
Add coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Jul 17, 2021
1 parent 1afc63e commit aaba61c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions diofant/tests/ntheory/test_ntheory.py
Expand Up @@ -1063,6 +1063,7 @@ def test_factorrat():


def test_is_square():
assert is_square(-2) is False
assert [i for i in range(25) if is_square(i)] == [0, 1, 4, 9, 16]
assert is_square(4, prep=False) is True
assert is_square(193) is False
Expand Down

0 comments on commit aaba61c

Please sign in to comment.