示例#1
0
        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);
        }
示例#2
0
        public void Test_0000()
        {
            var actual = MoveZero.MoveZeroes(new int[] { 0, 0, 0, 0 });

            CollectionAssert.AreEqual(new int[] { 0, 0, 0, 0 }, actual);
        }
示例#3
0
        public void Test_empty()
        {
            var actual = MoveZero.MoveZeroes(new int[] { });

            CollectionAssert.AreEqual(new int[] { }, actual);
        }