def test_return_true_if_it_is_not_strike(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_strike(2) self.assertEqual(res, False)
def test_return_true_if_it_is_strike(self): game = BowlingGame( [3, 1, 10, 3, 2, 3, 5, 1, 1, 0, 1, 2, 3, 1, 4, 3, 2, 1, 6]) res = game._is_strike(2) self.assertEqual(res, True)