Ad
  • Custom User Avatar
  • Custom User Avatar

    Elixir translation lacks of sample test cases and/or a proper description. Without them I have no idea what to do.

  • Custom User Avatar

    Well, even though I fix the little problem which comes from your confusing description, the code does not compile and gives an error (based on a warning) and then I cannot even submit my solution.

    You should fix this.

    /home/codewarrior/src/main/java/TestT.java:184: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    
  • Custom User Avatar

    Yes, that's true :) I have no idea why it arrived there but I guess it remained after refactoring the code.

  • Custom User Avatar

    Thanks for pointing this out :)

  • Custom User Avatar

    Yes, this was the issue. Thanks for fixing.

  • Custom User Avatar

    "✘ expected:<[]> but was:<[Lew]>"

    This comes when I run the tests without actual code in Java (only return "";) for the example test cases. For the submission it seems to be fine.

    The problem is: assertEquals requires the expected result as the first parameter and the actual as the second. In the test cases however it is switched and it will give false error messages on tests which fail.

  • Custom User Avatar

    assertThat(AcronymGenerator.createAcronym("Schmidt", "Jan-Erich Schmidt"), is("JES"));

    Interesting first name whith "Schmidt" never heard that someone could be called Jan-Erich Schmidt Schmitd. Obwohl ich sehr viel im Deutschen Sprachraum unterwegs bin.

    And I do not see any hint in the description which says that it can happen that a first name has the full name beside the last name. Either fix this test case or the Kata description to make things clear imho.