Ad
  • Custom User Avatar

    If you need more info about various visibilities in Java
    https://iq.opengenus.org/public-private-protected-in-java/

  • Custom User Avatar

    And that's definitely why this Kata is marked as 6kyu

  • Custom User Avatar

    The Kata was designed for Java and was translated by community to Kotlin, that's why some constraints seem illogic when coded in Kotlin.

  • Custom User Avatar

    Already written :
    2) The encode method should return an empty String if a null parameter is passed.

  • Custom User Avatar

    Not sure I know the solution then, each test case has its own failing message, or maybe it's a missuse on my own ? Maybe someone can fix it for me ?

  • Custom User Avatar

    It is not an issue to me. Just follow the subject.

  • Custom User Avatar

    If you want to know the testcode, make a print in your method.

  • Custom User Avatar

    Use some try catch or enhanced tests to find out your error.

  • Custom User Avatar

    Use some try catch or enhanced tests to find out how to fix your code.

  • Custom User Avatar

    Help yourself :)=
    Pointless ? It allows you to finish the codewar, there is some point at it.

  • Custom User Avatar

    The users have to follow the design, no matter if they understand it or not.

    Test cases are explicitely not using assertEquals to not show the test cases easely.

    Unknown error is not thrown by any of my test cases.

    Increasing the dictionary length discouraged a lot of people doing the exercise, this was already a previous change, this also encourage different solutions.

    1. The encode method should return an empty String if a null parameter is passed. (this is taken from description)
  • Custom User Avatar

    This is a codewars issue.

  • Custom User Avatar

    Use a try catch in your own tests "Unknown Error" text is not sent by any of my test cases.

  • Custom User Avatar

    Use a try catch in your own tests "Unknown Error" text is not sent by any of my test cases.

  • Custom User Avatar

    The objective is not to give the solution right away. I will not change this. Tests are part of the work expected.

  • Loading more items...