Skip to content

bowling: update tests to v1.2.0 #1272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 19, 2018
Merged

Conversation

mrcfps
Copy link

@mrcfps mrcfps commented Feb 16, 2018

Closes #1240

  • Update version number
  • Add two new test cases, test_cannot_roll_after_bonus_roll_for_spare and test_cannot_roll_after_bonus_rolls_for_strike, according to canonical data

@mrcfps
Copy link
Author

mrcfps commented Feb 16, 2018

Wow, the example solution cannot pass added test cases. I will take some time to improve it.


self.roll(rolls)

self.assertRaises(IndexError, self.game.roll, 2)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please adopt the form used in #1182 for exceptions.

@mrcfps
Copy link
Author

mrcfps commented Feb 17, 2018

@cmccandless I've taken your work in #1182 into this PR.

@cmccandless cmccandless merged commit 518f5e1 into exercism:master Feb 19, 2018
@mrcfps mrcfps deleted the bowling-1240 branch February 26, 2018 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants