def assert_GameScore(self, expected_score, game):
     self.assertEqual(expected_score, bowlingScores.scoreGame(game))
 def test_decimalInput(self):
     self.assertRaises(TypeError, bowlingScores.scoreGame([0.32, 5, 3, 3]),
                       "Scores must be intergers")
 def test_highInput(self):
     self.assertRaises(Exception, bowlingScores.scoreGame([14, 5, 3, 3]),
                       "Score is impossibly high")
 def test_lowInput(self):
     self.assertRaises(Exception, bowlingScores.scoreGame([-1, 5, 3, 3]),
                       "Score is impossibly low")
 def test_stringInput(self):
     self.assertRaises(TypeError, bowlingScores.scoreGame(str("fffffff")),
                       "Input must be of type list")