Ad
  • Default User Avatar

    Fixed, thank you!

  • Default User Avatar

    Thanks for the feedback! the test case was missing quotations to identify each pawn move as a string, oops. It has been fixed:
    test.assert_equals(pawn_move_tracker([e3, d6, e4, a6]) >>> test.assert_equals(pawn_move_tracker(["e3", "d6", "e4", "a6"])

  • Default User Avatar

    added the closing parenthesis, thanks!

  • Default User Avatar

    marking as resolved

  • Default User Avatar

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

  • Default User Avatar

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

  • Default User Avatar

    Example cases added in description

  • Default User Avatar

    Marking issue as resolved.

  • Default User Avatar

    replaced some code as you suggested

    public static void TwoCount(int n)
    >>
    public static int TwoCount(int n)
    
    [TestCase(2222222222222, Result=1)]
    >>>
    [TestCase(222222222, Result=1)]
    
  • Default User Avatar

    "The number passed to two_count (twoCount) will always be a positive integer greater than or equal to 1."
    Description explicitly states 0 doesn't need to be accounted for. Marking as resolved

  • Default User Avatar

    I didn't make the C# version so I am a bit confused, is there a reason the parameter has to be a long type instead of int?, none of the tests input a numbers that require more than 32 bits. If there is, should I change the input type for the initial solution, final solution, example tests, and actual tests?

  • Default User Avatar

    Changed that line to read, "The number passed to two_count (twoCount) will always be a positive integer greater than or equal to 1.". Thanks for the suggestion