Skip to content
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

Closed
IanWhitney opened this issue Jan 11, 2017 · 2 comments
Closed

Update tests of Luhn #491

IanWhitney opened this issue Jan 11, 2017 · 2 comments

Comments

@IanWhitney
Copy link
Contributor

This is the blazon tracking issue for the updates to Luhn's canonical tests. Those changes were made in #474.

@stevejb71
Copy link
Contributor

stevejb71 commented Jan 11, 2017

The current description implies that "0" is a valid string, according to the tests it is not.
I've updated the description to follow the tests, and also added a 0 length string test.

PR is #492

IanWhitney pushed a commit to IanWhitney/xrust that referenced this issue Jan 14, 2017
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.
IanWhitney pushed a commit to IanWhitney/xrust that referenced this issue Jan 14, 2017
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.
stkent added a commit to exercism/java that referenced this issue Jan 15, 2017
stkent added a commit to exercism/java that referenced this issue Jan 18, 2017
stkent added a commit to exercism/java that referenced this issue Jan 18, 2017
stkent added a commit to exercism/java that referenced this issue Jan 20, 2017
stkent added a commit to exercism/java that referenced this issue Jan 20, 2017
emcoding pushed a commit that referenced this issue Nov 19, 2018
Opens up conversation about implementation choice
@petertseng
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants