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.
Well, you can group tests into more test classes. To run it in embedded editor, you can wrap them into one suite, like:
FYI: I was able to submit my solution after commenting out my test method
True, but an array can be initialized with null, then you will get NullPointerException:
String[] test = null;
and considering there was a test
i'd go for a null check before returning.
One of the assumptions in the details was the you were given an array.
It can be done simply by lowering delta:
or by comparing strings:
Null check missing
Conversion of array to list is needless here.
It's probably bug in codewars (or in some specific library version). You should report it.
Could you please change the assertion to this form, so we can submit our solutions:
Thanks
Well the root cause is extra 'e' in your assertion. When I run it outside codewars I get:
But I don't know, why it doesn't show the correct output here.
FYI: if you use assertThat notation, it works OK ;)
This comment is hidden because it contains spoiler information about the solution
That error IS strange. Unfortunately I have no idea what to debug. Can you please share your code? You can mark it as a spoiler and it should stay hidden.
@mcclaskc could you please check your submission tests? This error is really strange.
Description upgraded.
Looks really good. One thing it is missing though is a translated Java example in the description. You can just add the java section below the ruby one in the markdown.
Thank you! I'll stick toLowerCamelCaseFromNowOn ;)
Loading more items...