Ad
  • Custom User Avatar

    C# Tests are a little bit wrong. Assert.AreEqual() takes the expected value as the first parameter and the actual value as the second.
    public static void AreEqual(object expected, object actual);
    But in the test cases this is mixed up:
    Assert.AreEqual(Kata.CountOfHeads(2, 1, 1), new BigInteger(2));
    Assert.AreEqual(Kata.CountOfHeads(5, 10, 3), new BigInteger(92));

  • Custom User Avatar

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