예제 #1
0
        public void MergeSortingOptimized_Sort__SuccessResult()
        {
            ISorting testClass = new MergeSortingOptimized();

            int[] array = new int[] { 1, 0, 2, 9, 3, 8, 4, 7, 5, 6 };
            testClass.Sort(array);

            array.Should().Equal(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
        }
예제 #2
0
        public void MergeSortingOptimized_Sort()
        {
            ISorting testClass = new MergeSortingOptimized();

            testClass.Sort(SortedData);
        }