@@ -104,7 +104,8 @@ def test_consecutive_stikes_each_get_the_two_roll_bonus(self):
104
104
self .assertEqual (score , 81 )
105
105
106
106
def test_strike_in_last_frame_gets_two_roll_bonus_counted_once (self ):
107
- rolls = [0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 10 , 7 , 1 ]
107
+ rolls = [0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ,
108
+ 10 , 7 , 1 ]
108
109
109
110
self .game = BowlingGame ()
110
111
@@ -115,7 +116,8 @@ def test_strike_in_last_frame_gets_two_roll_bonus_counted_once(self):
115
116
self .assertEqual (score , 18 )
116
117
117
118
def test_rolling_spare_with_bonus_roll_does_not_get_bonus (self ):
118
- rolls = [0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 10 , 7 , 3 ]
119
+ rolls = [0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ,
120
+ 0 , 10 , 7 , 3 ]
119
121
120
122
self .game = BowlingGame ()
121
123
@@ -126,7 +128,8 @@ def test_rolling_spare_with_bonus_roll_does_not_get_bonus(self):
126
128
self .assertEqual (score , 20 )
127
129
128
130
def test_strikes_with_the_two_bonus_rolls_do_not_get_bonus_rolls (self ):
129
- rolls = [0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 10 , 10 , 10 ]
131
+ rolls = [0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 10 ,
132
+ 10 , 10 ]
130
133
131
134
self .game = BowlingGame ()
132
135
@@ -137,7 +140,8 @@ def test_strikes_with_the_two_bonus_rolls_do_not_get_bonus_rolls(self):
137
140
self .assertEqual (score , 30 )
138
141
139
142
def test_strike_with_bonus_after_spare_in_last_frame_gets_no_bonus (self ):
140
- rolls = [0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 7 , 3 , 10 ]
143
+ rolls = [0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 7 ,
144
+ 3 , 10 ]
141
145
142
146
self .game = BowlingGame ()
143
147
0 commit comments