-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Conversation
rootulp
commented
Jan 29, 2017
- References Changes to Luhn tests #402
We should keep an eye on those |
Good point. I expect the canonical-data to change so we should keep this open until that gets resolved. |
@behrtam sorry for the slow response! I updated the canonical tests. |
exercises/luhn/luhn_test.py
Outdated
|
||
def test_is_valid_can_be_called_repeatedly(self): |
There was a problem hiding this comment.
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
).
There was a problem hiding this comment.
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.
Thanks for your work! |