def test_calculaMediaFinal(): assert calculaMediaFinal(10, 10) == 10 assert calculaMediaFinal(10, 0) == 6 assert calculaMediaFinal(6, 10) == 7.6 assert calculaMediaFinal(10, 6) == 8.4 assert calculaMediaFinal(0, 10) == 4 assert calculaMediaFinal(8, 4) == 6.4 assert calculaMediaFinal(5, 5) == 5 assert calculaMediaFinal(5, 9) == 6.6 assert calculaMediaFinal(3, 7) == 4.6 assert calculaMediaFinal(3, 10) == 5.8
def test_calculaMediaFinal(): assert calculaMediaFinal(10, 10) == 10 assert calculaMediaFinal(10, 0) == 6 assert calculaMediaFinal(6, 0) == 7.6 assert calculaMediaFinal(10, 4) == 8.4 assert calculaMediaFinal(0, 10) == 4 assert calculaMediaFinal(8, 4) == 6.4 assert calculaMediaFinal(5, 5) == 5 assert calculaMediaFinal(11, 11) == None assert calculaMediaFinal(-1, 0) == None
def test_calculaMediaFinal7(): assert calculaMediaFinal(10, 11) == None
def test_calculaMediaFinal6(): assert calculaMediaFinal(-1, 10) == None
def test_calculaMediaFinal(): assert calculaMediaFinal(10, 10) == 10.0
def test_calculaMediaFinal5(): assert calculaMediaFinal(9, 6) == 7.8
def test_calculaMediaFinal4(): assert calculaMediaFinal(3, 8) == 5
def test_calculaMediaFinal3(): assert calculaMediaFinal(6, 7) == 6.4
def test_calculaMediaFinal2(): assert calculaMediaFinal(7, 7) == 7
def test_calculaMediaFinal1(): assert calculaMediaFinal(5, 5) == 5