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.
Fixed
"dissalowed" is misspeled.
Looks reasonable.
Should be resolved now,
resolve issue after checking,
as I am not sure
New tests has been introduced!
Add some test cases like
'sm', 'ml', 'lm'
"random words" as assertion message is quite useless tho. You can check kata from my authoring examples collection for some ideas: https://www.codewars.com/collections/authoring-examples
The conversion between sizes is not actually specified. Examples are not specifications; they can clarify but must not specify, the description should be complete and correct without examples.
Even the examples do not specify the conversion; the scale might not be linear, but this is not specified or exemplified.
Thank you!
Updated description and test cases!
I am going to unpublish the kata until issues get resolved.
This comes from the newly added random tests.
Submission tests should give a debuggable feedback: they should present inputs with assertion messages or with test titles.
Suggested test case:xxm
.Oh there are tests for
xxm
, but they are wrong: there is no such size as "extra medium", is there? Such sizes should be treated as invalid?Noticed invalid sizes,
xxxxxxxxxxxxxxxxxxs
is actually a valid one, and it is not returns 0Now
None
is requiredRandom tests has been introduced
Loading more items...