• Custom User Avatar

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

  • Custom User Avatar

    Yes, my first attempt relied on Math.Round(x, MidpointRounding.AwayFromZero), that is absolutely correct mathematically. I am always upset when I have to adjust the right solution to the wrong tests.

  • Custom User Avatar

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

  • Custom User Avatar

    In c#, example tests still no doTest ;-)
    Put it to preload block?

  • Custom User Avatar

    The example tests in C# are full of problems. There is no method "doTest" and in the example tests the method problem is expeceted to have a capital P.
    The real tests work without any problem.

  • Custom User Avatar

    Approved

  • Custom User Avatar

    Agreed, but you are free to use whatever variable names you want - just edit the initial solution :D

  • Custom User Avatar

    I agree with you, but warriors who solved the kata without abiding to the constraints voted for level 7. I wish I had a way of disqualifying solutions that do not obey the rules. Instead I have relied on people's sense of honor. Good for you for solving it while obeying the rules!