@@ -150,7 +150,7 @@ public void allStrikesIsAPerfectGame() {
150150
151151 @ Ignore ("Remove to run test" )
152152 @ Test
153- public void rollsCanNotScoreNegativePoints () throws IllegalStateException {
153+ public void rollsCanNotScoreNegativePoints () {
154154 int [] rolls = {-1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 };
155155
156156 playGame (rolls );
@@ -163,7 +163,7 @@ public void rollsCanNotScoreNegativePoints() throws IllegalStateException {
163163
164164 @ Ignore ("Remove to run test" )
165165 @ Test
166- public void aRollCanNotScoreMoreThan10Points () throws IllegalStateException {
166+ public void aRollCanNotScoreMoreThan10Points () {
167167 int [] rolls = {11 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 };
168168
169169 playGame (rolls );
@@ -176,7 +176,7 @@ public void aRollCanNotScoreMoreThan10Points() throws IllegalStateException {
176176
177177 @ Ignore ("Remove to run test" )
178178 @ Test
179- public void twoRollsInAFrameCanNotScoreMoreThan10Points () throws IllegalStateException {
179+ public void twoRollsInAFrameCanNotScoreMoreThan10Points () {
180180 int [] rolls = {5 , 6 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 };
181181
182182 playGame (rolls );
@@ -189,7 +189,7 @@ public void twoRollsInAFrameCanNotScoreMoreThan10Points() throws IllegalStateExc
189189
190190 @ Ignore ("Remove to run test" )
191191 @ Test
192- public void twoBonusRollsAfterAStrikeInTheLastFrameCanNotScoreMoreThan10Points () throws IllegalStateException {
192+ public void twoBonusRollsAfterAStrikeInTheLastFrameCanNotScoreMoreThan10Points () {
193193 int [] rolls = {0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 10 , 5 , 6 };
194194
195195 playGame (rolls );
@@ -202,7 +202,7 @@ public void twoBonusRollsAfterAStrikeInTheLastFrameCanNotScoreMoreThan10Points()
202202
203203 @ Ignore ("Remove to run test" )
204204 @ Test
205- public void twoBonusRollsAfterAStrikeInTheLastFrameCanScoreMoreThan10PointsIfOneIsAStrike () throws IllegalStateException {
205+ public void twoBonusRollsAfterAStrikeInTheLastFrameCanScoreMoreThan10PointsIfOneIsAStrike () {
206206 int [] rolls = {0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 10 , 10 , 6 };
207207
208208 playGame (rolls );
@@ -212,7 +212,7 @@ public void twoBonusRollsAfterAStrikeInTheLastFrameCanScoreMoreThan10PointsIfOne
212212
213213 @ Ignore ("Remove to run test" )
214214 @ Test
215- public void anUnstartedGameCanNotBeScored () throws IllegalStateException {
215+ public void anUnstartedGameCanNotBeScored () {
216216 int [] rolls = new int [0 ];
217217
218218 playGame (rolls );
@@ -225,7 +225,7 @@ public void anUnstartedGameCanNotBeScored() throws IllegalStateException {
225225
226226 @ Ignore ("Remove to run test" )
227227 @ Test
228- public void anIncompleteGameCanNotBeScored () throws IllegalStateException {
228+ public void anIncompleteGameCanNotBeScored () {
229229 int [] rolls = {0 , 0 };
230230
231231 playGame (rolls );
@@ -238,7 +238,7 @@ public void anIncompleteGameCanNotBeScored() throws IllegalStateException {
238238
239239 @ Ignore ("Remove to run test" )
240240 @ Test
241- public void aGameWithMoreThanTenFramesCanNotBeScored () throws IllegalStateException {
241+ public void aGameWithMoreThanTenFramesCanNotBeScored () {
242242 int [] rolls = {0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 };
243243
244244 playGame (rolls );
@@ -251,7 +251,7 @@ public void aGameWithMoreThanTenFramesCanNotBeScored() throws IllegalStateExcept
251251
252252 @ Ignore ("Remove to run test" )
253253 @ Test
254- public void bonusRollsForAStrikeInTheLastFrameMustBeRolledBeforeScoreCanBeCalculated () throws IllegalStateException {
254+ public void bonusRollsForAStrikeInTheLastFrameMustBeRolledBeforeScoreCanBeCalculated () {
255255 int [] rolls = {0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 10 };
256256
257257 playGame (rolls );
@@ -264,7 +264,7 @@ public void bonusRollsForAStrikeInTheLastFrameMustBeRolledBeforeScoreCanBeCalcul
264264
265265 @ Ignore ("Remove to run test" )
266266 @ Test
267- public void bothBonusRollsForAStrikeInTheLastFrameMustBeRolledBeforeScoreCanBeCalculated () throws IllegalStateException {
267+ public void bothBonusRollsForAStrikeInTheLastFrameMustBeRolledBeforeScoreCanBeCalculated () {
268268 int [] rolls = {0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 10 , 10 };
269269
270270 playGame (rolls );
@@ -277,7 +277,7 @@ public void bothBonusRollsForAStrikeInTheLastFrameMustBeRolledBeforeScoreCanBeCa
277277
278278 @ Ignore ("Remove to run test" )
279279 @ Test
280- public void bonusRollForASpareInTheLastFrameMustBeRolledBeforeScoreCanBeCalculated () throws IllegalStateException {
280+ public void bonusRollForASpareInTheLastFrameMustBeRolledBeforeScoreCanBeCalculated () {
281281 int [] rolls = {0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 7 , 3 };
282282
283283 playGame (rolls );
0 commit comments