Пример #1
0
        public void Test3()
        {
            int[] a = { 1, 2, 0, 4, 0 };

            this.Compare(MoveZeros.Solve(a), MoveZeros.SolveBrute(a));
        }
Пример #2
0
        public void Test4()
        {
            int[] a = { 5, 6, 0, 0, 0 };

            this.Compare(MoveZeros.Solve(a), MoveZeros.SolveBrute(a));
        }
Пример #3
0
        public void Test1()
        {
            int[] a = { 1, 2, 3, 4, 5 };

            this.Compare(MoveZeros.Solve(a), MoveZeros.SolveBrute(a));
        }