Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    and it's the same for the % of progress.

  • Custom User Avatar

    No honor change, only the new language level changes when you solve a kata in more than one language afaik.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    Changed one example so it should be pretty clear now!
    Thanks for your suggestion.

  • Custom User Avatar

    Please don't flag my comments as spoiler or other unfortunate users might waste time on the same issue.
    I've just shown some wrong tests and it's better for them to know.

    I'm not even editing the kata as I can't figure out what the author expects.

  • Default User Avatar

    I've "cheated" too and also saw that other warriors didn't counted for exceptions - than I went back

  • Custom User Avatar

    Out of curiosity, I've even cheated those values with:

    if(num == 88){return false;}
    if(num == 4554){return false;}
    if(num == 1234){return false;}
    

    to discover current solutions to be either:

    • invalid (the majority) or
    • still cheating, like mine

    The kata description even changed in the meantime, that explains why earlier some users were checking for num<10.

  • Default User Avatar

    I guess the task description is just not specific enough - you can see it from 2 different angles - but I agree to you mmalkavian

  • Custom User Avatar

    Another major issue in Java:

    you assert in your tests as false 88, 4554 and 1234, given the current description:

    If the number is even, return whether the sum of the digits is a "Very Even" number.

    while your current tests are:

    @Test
    50		+	 public void Test_8() {
    51		+	
    52		+	 assertFalse(Kata.isVeryEvenNumber(88));
    53		+	
    54		+	 }
    
    @Test
    62		+	 public void Test_10() {
    63		+	
    64		+	 assertFalse(Kata.isVeryEvenNumber(88));
    65		+	 assertTrue(Kata.isVeryEvenNumber(400000220));
    66		+	
    67		+	 }
    
    @Test
    38		+	 public void Test_6() {
    39		+	
    40		+	 assertFalse(Kata.isVeryEvenNumber(4554));
    41		+	
    42		+	 }
    
    44		+	 public void Test_7() {
    45		+	
    46		+	 assertFalse(Kata.isVeryEvenNumber(1234));
    47		+	
    48		+	 }
    
    

    they seem to be wrong tests to me.
    I doubt the "satisfied" people voted for the java version.

  • Custom User Avatar

    [Java]

    Your tests are widely wrong; I get a runtime error just by leaving the original code untouched (the return true;).

    Furthermore I can see from your frequent revisions of code and description that you have "Very Confused" ideas.

  • Default User Avatar

    I know this "solution" is wrong and will not work for other testcases. How can I delete my carbage here?

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Seems you're damn right! Thanks.

  • Custom User Avatar

    I guess the "Honor Percentile" means the percent of people you have beaten.

  • Loading more items...