Ad
  • Custom User Avatar

    Can anybody give me a key how to solve this kata? I tried to use binary representation of these numbers, but i still can't find the solve :(

  • Custom User Avatar

    I can't pass any RandomTestGetY test, while RandomTestCalcIntegral fully passed.
    What am I doing wrong?
    Obviously there should be the constant in the integral formula like this: 0.5Mx^2 + B*x + CONST, but the description doesn't tell anything about it.

  • Custom User Avatar
  • Custom User Avatar

    Compare10
    ✘ '##' vs '1176'
    Expected: True
    But was: False

    WTF? How can be 35+35=49+49+55+54?

    And some more issues

    Compare5
    ✘ 'zz1' vs ''
    Expected: True
    But was: False

    Compare9
    ✘ '!!' vs '7476'
    Expected: True
    But was: False

  • Custom User Avatar

    Yes, I already understood it.
    It's just my inattention.
    Thanks!

  • Custom User Avatar

    Can anybody tell me, how to trow an exception properly (C#)?
    I paste this code

    if (lives < 0)
    {
    throw new Exception();
    }

    But I can't pass the tests with this.
    The result of the test is "System.Exception : Exception of type 'System.Exception' was thrown."

    Hope you help me!)