Exemple #1
0
def test_isqrt_small_numbers(inp, out):
    assert isqrt(inp) == out
Exemple #2
0
def test_isqrt_large_numbers(inp, out):
    assert isqrt(inp) == out
Exemple #3
0
def test_isqrt_with_zero():
    assert isqrt(0) == 0