def test_total_notes_failed(self): report = Report('João Lucas') totalMath = report.math_total(0.0, 2.0, 0.0, 1.0) totalEnglish = report.english_total(0.0, 10.0, 1.0, 2.0) result = report.total_notes(totalMath, totalEnglish) self.assertEqual(result, '😠infelizmente você foi reprovado')
def test_total_notes_success(self): report = Report('João Lucas') totalMath = report.math_total(8.0, 2.0, 4.0, 5.0) totalEnglish = report.english_total(8.0, 10.0, 4.0, 5.0) result = report.total_notes(totalMath, totalEnglish) self.assertEqual(result, '🔥 você foi aprovado')