def test_given_index_from_differen_frames_return_false(self): game = BowlingGame( [3, 1, 7, 3, 2, 3, 5, 1, 1, 0, 1, 2, 3, 1, 4, 3, 2, 1, 6, 1]) res = game._is_spare(2) self.assertEqual(res, False)
def test_return_true_if_it_is_not_spare(self): game = BowlingGame( [3, 1, 2, 3, 2, 3, 5, 1, 1, 0, 1, 2, 3, 1, 4, 3, 2, 1, 6, 1]) res = game._is_spare(3) self.assertEqual(res, False)