Example #1
0
        static bool TestSix()
        {
            var rand  = new Random();
            var array = new int[100000000];

            for (var i = 0; i < array.Length; i++)
            {
                array[i] = rand.Next();
            }

            QuickSort.Sort(array);

            return(QuickSort.IsSorted(array));
        }