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.
The description says if same return
same
, but the test says it should returnSame
.Ruby 3.0 should be enabled.
The kata is far too unspecific about what is considered an invalid entry (at least for
Ruby
).There should either be example tests showing what's expects or it should be explicitly mentioned in the description.
Of course, all tests should also follow these criteria.
The JS version does something very weird with datatypes, which is not specified in the Description and which I have absolutely no inclination to reverse engineer.
Also, the tests use
Test.assertSimilar
instead ofTest.assertDeepEquals
, so any difference between numbers and strings is lost in rendering test results.My honest opinion of this kata is quite unprintable.
Needs random test cases to prevent low-level cheat solutions
This comment is hidden because it contains spoiler information about the solution