Ejemplo n.º 1
0
def test_average_2():
    with pytest.raises(ValueError):
        assert algo.average(tab_negative)
Ejemplo n.º 2
0
def test_average_1():
    assert algo.average(tab_positive) == 3