def test_descontaNota5(): assert descontaNota(6, 20) == 4.8
def test_descontaNota4(): assert descontaNota(8.5, 30) == 5.95
def test_descontaNota3(): assert descontaNota(7, 25) == 5.25
def test_descontaNota2(): assert descontaNota(10, 20) == 8.0
def test_descontaNota1(): assert descontaNota(8, 30) == 5.6
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