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
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#
All languages:
.
&&+
"Funny image" link in the description is no longer accessible.
For Java it would be helpful it was defined what is the encoding used in
String code
; I'm assuming it's 7 bit ASCII, but it could as well be full Unicode.Loading more items...