Ad
  • Custom User Avatar

    Do the rools work with all ships, or for submarines(unicellular) not? Because I wrote a code that checks if there is nothing around the ship(no contact with another ships) despite the fact it is unicellular or not(and if there is a contact, field is invalid), but I fail random tests(they want true, I have false). The only opportunity is that for submarins it works somehow another, can someone enlighten me?

  • Custom User Avatar

    Ok, but what about my error, have you got any suggestions?

  • Custom User Avatar

    Can someone help me? I have done a solution part, I've also made Tests and they work, but I cant complete the Kata. I've even checked solutions but there were no test cases. I'm already struggling with this error for two days but have no idea what have done wrong. The funny thing is that I have any statement with such name: mysteryColorAnalyzer, and also have instantiated only the class that implements an interface. So I'm lost, hope on your help. The error:
    src/test/java/MysteryColorAnalyzerTest.java:17: error: MysteryColorAnalyzerImpl is abstract; cannot be instantiated
    mysteryColorAnalyzer = new MysteryColorAnalyzerImpl();
    ^
    1 error