Ad
  • Custom User Avatar

    Hi Jolaf

    Im trying to run my code on CodeWars

  • Default User Avatar

    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