public void Test4() { int[] expected = null; int[] arr = null; var actual = Class9.MoveZerosToEnd(arr); Assert.Equal(expected, actual); }
public void Test1() { int[] expected = new int[] { 4, 2, 3, 1, 0, 0, 0 }; int[] arr = new int[] { 4, 2, 0, 1, 0, 3, 0 }; var actual = Class9.MoveZerosToEnd(arr); Assert.Equal(expected, actual); }