예제 #1
0
def test_descontaNota5():
    assert descontaNota(6, 20) == 4.8
예제 #2
0
def test_descontaNota4():
    assert descontaNota(8.5, 30) == 5.95
예제 #3
0
def test_descontaNota3():
    assert descontaNota(7, 25) == 5.25
예제 #4
0
def test_descontaNota2():
    assert descontaNota(10, 20) == 8.0
예제 #5
0
def test_descontaNota1():
    assert descontaNota(8, 30) == 5.6
예제 #6
0
def test_descontaNota():
    assert descontaNota(8, 30) == 5.6
    assert descontaNota(10, 20) == 8.0
    assert descontaNota(7, 25) == 5.25
    assert descontaNota(8, 30) == 5.95
    assert descontaNota(6, 20) == 4.8