Ad
  • Custom User Avatar

    I think this solution is faulty? Because according to title case some words should be kept lower case like "of" for example. But according to camelCase all subsequent words of the first one should be kept uppercase. Now this is a problem with the Kata as well since it actually test PascalCase, not camelCase. But the problem still stands as PascalCase should uppercase each new word.

  • Default User Avatar

    Multiply Enterprise Edition

  • Custom User Avatar

    No. It's the angle between each side you have to sum.

  • Default User Avatar

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

  • Custom User Avatar

    The test cases check your code for banned letters like it would do your mother ( using her eyes simply ;P ).

  • Default User Avatar

    I have the result like "4096 days expected but got 4096.00.00.00 days"
    Make it be insensetive for this.

  • Default User Avatar

    Impossible in C#
    My tests
    Assert.AreEqual("You are 17 year(s) old.", AgeDiff.CalculateAge(2003, 2020));
    Assert.AreEqual("You were born this very year!", AgeDiff.CalculateAge(2003, 2003));
    Assert.AreEqual("You will be born in 17 year(s).", AgeDiff.CalculateAge(2020, 2003));

    says that all are okay
    but wtf, random tests delete my "(" and ")"

  • Default User Avatar

    Assert.AreEqual("You are 17 year(s) old.", AgeDiff.CalculateAge(2003, 2020));
    Assert.AreEqual("You were born this very year!", AgeDiff.CalculateAge(2003, 2003));
    Assert.AreEqual("You will be born in 17 year(s).", AgeDiff.CalculateAge(2020, 2003));

    //Remade, try this.

  • Default User Avatar

    Can i set banned keys as a value to a string?