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.
Thank you for the feedback. I've changed the translation based in your requirements! could you check it again?
null
or empty string result in a"regular"
ball? Is this behavior specified in the task statement? Are these inputs considered valid?assertEquals
, and not withassertTrue(x.equals(y))
.Ball.equals
does not hold to requirements of the contract the immplementations ofequals
must fulfill. TheBall
is not required to implementequals
by this kata, but if it does, it should to this correctly.Please see Translation authoring guidelines for ideas on creating a good quality translations. Please visit Codewars Discord and
#help-translate
channel if you need help with creating translations.Java translation translation added ^^