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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Random tests should also generate invalid cases (at least 30-50% of the time) and not just rely on fixed and sample tests (presumably all languages)
Missing fixed, sample and random tests for cases below:
n = true / false
n is a floating-point number (
1.23
)python new test framework is required. updated in this fork
No sample tests in ruby
Ruby 3.0 should be enabled.
Ruby 3.0 should be enabled.
Trying to solve this kata with Javascript. I've stucked on Incorrect hex-string length. What kind of output should i do to pass this test? Thanks. P.S. I've tried return false and return 'Incorrect hex-string length', both are wrong.
As for "has non-hexadecimal characters", I suggest some more tricky test cases which are not detected by some solutions:
-1
,0x1
.