def test_personal_best(self): self.assertEqual(980, personal_best(self.high_scores_list))
def test_gets_personal_best(self): self.assertEqual(105, personal_best(self.scores))
def test_personal_best(self): self.assertEqual(20, personal_best(self.test_list)) self.assertNotEqual(7, personal_best(self.test_list))
def test_personal_best(self): self.assertEqual(900, personal_best(self.high_score))
def test_personal_best(self): scores = [40, 100, 70] expected = 100 self.assertEqual(expected, personal_best(scores))
def tests_personal_best_score(self): best_score = personal_best(self.scores) self.assertEqual(7, best_score)
def test_find_personal_best_score(self): self.assertEqual(100, personal_best(self.scores))
def test_personal_best(self): # pass in scores list best_score = personal_best(self.scores) # call personalBest to get highest score in list self.assertEqual(777, best_score)
def test_personal_best(self): self.assertEqual(901, personal_best(self.scores))
def test_personal_best(self): scores = [100, 0, 90, 30, 45, 10] expected = 100 self.assertEqual(expected, personal_best(scores))