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.
impressive
Ok thanks!, I'll look into it (including the markdown formatting)
Also I cannot split the spring into indivudual chars and the call MorseCode.get(), becausue MorseCode.get() does not work for the triple space for me. MorseCode.get(" (triple space) ") returns "null" for me.
This comment is hidden because it contains spoiler information about the solution
http://prntscr.com/rjmcc2
(This screenshot is not a spoiler as it does not contain any code.)
I'm saying that during the test case, I got the exact correct output. But when I attempt it puts out a different result. Riddle me that. I'll take a screenshot
You could put the sentence that it's failing on into an online Morse Code generator. It's what I did but the kata is broken for me (see my recent comment).
This kata is broken. I put the entire exact same sentence from the test I failed "SOS! THE BROWN FOX etc." into the test cases below. And it passed the test case. It perfectly printed the sentence. Yet when I try to submit my solution it fails? It breaks up the sentence in weird spots with spaces etc. which does not happen in the test case.
Furthermore the MorseCode.get() method does not work for the triple spacebar (" "). MorseCode.get(" ") simply returns NULL, so I had to manually put the spaces into the output string. And even though I did this, because of the first problem I can't finish this kata.
Does anyone know how I can fix this?
This test was quite hard for a 6 kyu kata, not gonna lie.