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.
The logic used to determine if the methods are called is flawed. I do call them multiple times in my reverse_str function but it says I haven't.
That's... odd. It works fine on my end.
Thank you! I will add that test case.
Anything you load into the Pre-Loaded section isn't loaded in the User's Test Cases. That means that your short_(whatever) isn't loading
Kata description is not in proper english, which means it's not understandable at all. Should also give a proper explanation of the problem rather than just pointing to Wikipedia.
Kata is un-resolvable as, when a test is not passed, the resulting message is the default "x should equal y" only that x and y are empty strings therefore there is no way to tell where your code goes wrong.
What do you mean by "default code should be cleaned up"?
I really wish I could help you. While the Kata is mine, I only know Python. The other languages are written by other people and I don't know Java.
I suggest adding a "import string" in your test cases. As, for example, if I don't use the string module in my solution, it throws an error.
In the example test cases, String(a) should be str(a)
Issue is with user, not with kata. Problem is outlined clearly and can easily be understanded by anyone.
Wondering as how no one has checked what the comment in the given code actually means
Do I need to accept it somewhere?
While I have removed it from the test caes now, good code shouldn't fail on it.
Since this is practically a one line kata.
Yep, that's better! :)
Loading more items...