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.
In Java assertEquals method used with swapped parameters order.
In Java basicTests() expected and actual values are swapped.
In Java fixedTests() expected and actual values are swapped.
In Java testSample() test expected and actual values are swapped.
In Java testComplex() test expected and actual values are swapped. The same is true for the sixteenth attempt test.
I second that. Got with array [289, 18, 306, 17, 17, 255, 15, 270] error: expected: <270> but was: <18>
You need to check first letter of name and return string according to that letter.
It is an interesting kata and i learned something new, although i can't understand why return values must be only positive. It doesn't seem like negative values could affect the result, because after squaring they will be positive. Could someone expalin this to me?