def test_two_gutters_frame(): two_gutters = [[0,0]] result = bowling_game.calculate_standard_frame(two_gutters) assert result == 0
def test_spare_frame(): frame = [[8,2],[4],[]] result = bowling_game.calculate_standard_frame(frame) assert result == 14
def test_double_strike_frame(): frame = [[10],[10], [7,3]] result = bowling_game.calculate_standard_frame(frame) assert result == 27
def test_triple_strike_frame(): frame = [[10],[10],[10,8]] result = bowling_game.calculate_standard_frame(frame) assert result == 30
def test_strike_frame(): frame = [[10],[2,2]] result = bowling_game.calculate_standard_frame(frame) assert result == 14
def test_two_gutters_frame(): frame = [[0,0],[1]] result = bowling_game.calculate_standard_frame(frame) assert result == 0
def test_spare_frame(): spare = [[2,8],[3,5]] result = bowling_game.calculate_standard_frame(spare) assert result == 13
def test_doublestrike_frame(): double_strike = [[10],[10], [2,6]] result = bowling_game.calculate_standard_frame(double_strike) assert result == 22
def test_strike_frame(): strike = [[10],[3,3],[10]] result = bowling_game.calculate_standard_frame(strike) assert result == 16