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, the problem clearly is Java can't find class MorseCodeDecoder that you should have implemented in your solution like this:
Hi Jolaf
Im trying to run my code on CodeWars
Are you trying to run your tests here on CodeWars, or on your computer?
Hi
Could you please explain why the test case isn't working for Java.
assertThat(MorseCodeDecoder.decode(".... . -.-- .--- ..- -.. ."), is("HEY JUDE"));
^
symbol: variable MorseCodeDecoder
location: class MorseCodeDecoderTest
1 error
java.lang.RuntimeException: /MorseCodeDecoderTest.java:8: error: cannot find symbol
assertThat(MorseCodeDecoder.decode(".... . -.-- .--- ..- -.. ."), is("HEY JUDE"));
^
symbol: variable MorseCodeDecoder
location: class MorseCodeDecoderTest
1 error