Skip to content

Conversation

bitfield
Copy link
Contributor

From luhn: add test case with non-digit at the end:

Problem: I had a student only include the digits before the first invalid character. There was no test that failed his solution.

Solution: Added a test that should return false but does not if the student takes only the numbers up to first non-digit.

@rpottsoh
Copy link
Member

Let me know if you need me to merge.

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