-
-
Notifications
You must be signed in to change notification settings - Fork 546
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
Update tests of Luhn #491
Comments
The current description implies that "0" is a valid string, according to the tests it is not. PR is #492 |
This mostly follows the current test suite (exercism/problem-specifications#491), with one change. The final canonical test adds an alphabetical character to a known invalid string and then asserts that it's still invalid. Instead what the test should do is alter a known-valid string and show that it is now invalid. That's what I've done here. I'll also propose the change to canonical test suite.
Closes exercism#237 This mostly follows the current test suite (exercism/problem-specifications#491), with one change. The final canonical test adds an alphabetical character to a known invalid string and then asserts that it's still invalid. Instead what the test should do is alter a known-valid string and show that it is now invalid. That's what I've done here. I'll also propose the change to canonical test suite.
Fixes #245. Tracking issue: exercism/problem-specifications#491
Fixes #245. Tracking issue: exercism/problem-specifications#491
Fixes #245. Tracking issue: exercism/problem-specifications#491
Fixes #245. Tracking issue: exercism/problem-specifications#491
Fixes #245. Tracking issue: exercism/problem-specifications#491
Opens up conversation about implementation choice
it's not useful (there is no action for us to take) to leave this issue open. However, individuals interested in how tracks should keep up-to-date with problem-specifications should look at #524 . Note that the situation has gotten a lot better since the days of this issue, since the JSON file has a version now. |
This is the blazon tracking issue for the updates to Luhn's canonical tests. Those changes were made in #474.
The text was updated successfully, but these errors were encountered: