public void Test_102003() { var actual = MoveZero.MoveZeroes(new int[] { 1, 0, 2, 0, 0, 3 }); CollectionAssert.AreEqual(new int[] { 1, 2, 3, 0, 0, 0 }, actual); }
public void Test_0000() { var actual = MoveZero.MoveZeroes(new int[] { 0, 0, 0, 0 }); CollectionAssert.AreEqual(new int[] { 0, 0, 0, 0 }, actual); }
public void Test_empty() { var actual = MoveZero.MoveZeroes(new int[] { }); CollectionAssert.AreEqual(new int[] { }, actual); }