def test_personal_best(self):
     scores = [40, 100, 70]
     expected = 100
     self.assertEqual(personal_best(scores), expected)
 def test_personal_best(self):
     scores = [40, 100, 70]
     expected = 100
     assert personal_best(scores) == expected
Ejemplo n.º 3
0
 def test_personal_best(self):
     scores = [40, 100, 70]
     expected = 100
     self.assertEqual(personal_best(scores), expected)
Ejemplo n.º 4
0
 def test_personal_best_without_losing_data(self):
     scores = [40, 100, 70]
     personal_best(scores)
     self.assertEqual(scores, [40, 100, 70])
Ejemplo n.º 5
0
 def test_highest_scores(self):
     self.assertEqual(9, personal_best(self.scores_1))