示例#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