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.
Thanks LeftofZen, I added your change. I did attempt to swap the assertEquals method's arguments though, as the
expected:<[throw towel]> but was:<[42 -9]>
was annoying the hell out of me.Is it just me or is the Example Test Cases totally untestable in in the Kata editor and even omnitted from the revisions page?
No wonder so many Katas has broken Example Test Cases.
PS: Is the Java Test Cases ok? It uses somewhat the same as what the Example Test Cases had.
You need to import junit.Assert if you want to use assert in Java. You also need to fix up the actual assert line to use equals since we are doing a string comparison. Change the default test case to the following:
I don't know Java, so if you can tell me what is wrong I will fix it.