public void RemoveDuplicates_WhenGivenValidInput_ReturnsExpectedResult() { var result = RemoveDuplicates.Solution(new int[] { 1, 1, 2 }); Assert.AreEqual(2, result); }
public void RemoveDuplicates_WhenGivenValidInputOf_0011122334_Returns_5() { var result = RemoveDuplicates.Solution(new int[] { 0, 0, 1, 1, 1, 2, 2, 3, 3, 4 }); Assert.AreEqual(5, result); }