예제 #1
0
def test_quotient_error():
    raises(ZeroDivisionError, lambda: quotient(1, 0))
예제 #2
0
def test_quotient_error():
    raises(ZeroDivisionError, lambda: quotient(1, 0))
예제 #3
0
def test_quotient():
    assert quotient(13, 5) == 2
    assert quotient(-4, 7) == -1
예제 #4
0
def test_quotient():
    assert quotient(13, 5) == 2
    assert quotient(-4, 7) == -1