def testEqualScore(self): HighScores.highscore('Frank', 789) observed = HighScores.highscore('Frank', 789) expected = 789 self.assertEqual(observed, expected, 'Results are not the expected, expected: {0}, actual: {1}'.format(expected,observed))
def testNewScore(self): observed = HighScores.highscore('Roger', -50) expected = -50 self.assertEqual(observed, expected, 'Results are not the expected, expected: {0}, actual: {1}'.format(expected,observed))