Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Terminology correction needed - Visa, Mastercard, AMEX are not card issuers - your bank is a card issuer. Mastercard, Visa, etc are card networks.
Am I missing something or, without more tests, could AMEX just be returned for any card number with a length of 15 digits?
No random tests in Haskell.
Fork with added random tests.
Enabled in this fork
This comment is hidden because it contains spoiler information about the solution
Node 18. should be enabled
Test.expect
should be abortedAssertions that do not test anything should be removed, like this one:
Description should be language-agnostic
should be
Enabled in this fork
Approved
python new test framework is required. updated in this fork
Description should be language-agnostic
Approved
python new test frame work
C#: method name should be
PascalCase
(Please refer to implementation of backward compatibility here )Any card number with a length of 15 starting with 3 is AMEX, not just 34 or 37.
Same for Discover: length of 16 starting with 6.
Should this remain correct?
Loading more items...