Пример #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