Skip to content

luhn: Update tests and example #409

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
Mar 9, 2017
Merged

luhn: Update tests and example #409

merged 5 commits into from
Mar 9, 2017

Conversation

rootulp
Copy link
Contributor

@rootulp rootulp commented Jan 29, 2017

@behrtam
Copy link
Contributor

behrtam commented Jan 30, 2017

We should keep an eye on those luhn related issues:
exercism/problem-specifications#522
exercism/problem-specifications#523

@rootulp
Copy link
Contributor Author

rootulp commented Feb 3, 2017

Good point. I expect the canonical-data to change so we should keep this open until that gets resolved.

@behrtam
Copy link
Contributor

behrtam commented Feb 22, 2017

@rootulp
Copy link
Contributor Author

rootulp commented Feb 27, 2017

@behrtam sorry for the slow response! I updated the canonical tests.


def test_is_valid_can_be_called_repeatedly(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

I would like to leave this mutability test case (#136) as it is.
Maybe we could put it as the last test with a comment (# additional track specific test case).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added back with the comment you suggested. I replaced the test value with "055 444 285" because it exists in the canonical data.

@behrtam behrtam merged commit ac7f404 into exercism:master Mar 9, 2017
@behrtam
Copy link
Contributor

behrtam commented Mar 9, 2017

Thanks for your work!

@rootulp rootulp deleted the luhn/tests branch March 10, 2017 17:48
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