Exemplo n.º 1
0
def test_subtract_exception(minuend, subtrahend):
    with pytest.raises(TypeError):
        _.subtract(minuend, subtrahend)
Exemplo n.º 2
0
def test_subtract_exception(minuend, subtrahend):
    with pytest.raises(TypeError):
        _.subtract(minuend, subtrahend)
Exemplo n.º 3
0
def test_subtract(minuend, subtrahend, expected):
    assert _.subtract(minuend, subtrahend) == expected
Exemplo n.º 4
0
def test_subtract(minuend, subtrahend, expected):
    assert _.subtract(minuend, subtrahend) == expected