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 kata has no useful directions. Can we please get rid of it? Surely, there are more sensible variations readily available.
Coq 8.15 should be permitted.
In the kata description where it says:
It could be:
I spent some time and a lot of coffee :'(
Lua translation!
Groovy: arguments to
assertEquals
are reversed. It should beassertEquals(expected, actual)
.Java: the
countChar
test assertion message is very unhelpful (expected: <true> but was: <false>
)This comment is hidden because it contains spoiler information about the solution
Nim translation moved from duplicate kata Alternate case.
What's wrong with the Groovy translation? Why is it not merged? Same thing for the Java translation
Random tests in Python do not contain any loops or no-ops, therefore only testing a subset of the specified behaviour.
Python fork which implements better random testing:
https://www.codewars.com/kumite/66c8182e4d7ff9aec7c3b877
If approved I'll port the changes to JS as well.
Python example in the description has a syntax error, since python comments start with
#
, but in description//
is placed instead. When someone plans to change the python version of this kata, please replace that.python new test framework
Haskell translation
This comment is hidden because it contains spoiler information about the solution
Description does not mention the input and output type for corresponding class and instance methods for C#
Loading more items...