예제 #1
0
        public void TestMethod1()
        {
            int[] expected = new int[5] {
                3, 4, 5, 6, 7
            };
            int[] array = new int[5] {
                5, 3, 6, 7, 4
            };

            QuickSorting a = new QuickSorting();

            int[] actual = QuickSorting.Sorting(array, 0, array.Length - 1);
            CollectionAssert.AreEqual(expected, actual);
        }