Fixed, thank you!
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"])
added the closing parenthesis, thanks!
marking as resolved
This comment is hidden because it contains spoiler information about the solution
Example cases added in description
Marking issue as resolved.
replaced some code as you suggested
public static void TwoCount(int n)
public static int TwoCount(int n)
"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
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?
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