static void Main(string[] args) { //int[] a = new int[5]; //int[] b = new int[6]; //for(int i = 0; i<a.Length; i++) //{ // a[i] = i; // Console.Write(a[i] + ", "); //} //a.CopyTo(b, 0); //Console.WriteLine(); //for (int i = 0; i < b.Length; i++) //{ // Console.Write(b[i] + ", "); //} SortingTestModule sortingTests = new SortingTestModule(); sortingTests.PrepareTestSets(); foreach (var ts in sortingTests.TestSets) { ts.Value.PerformTests(false); } }
static void Main(string[] args) { SortingTestModule sortingTests = new SortingTestModule(); sortingTests.PrepareTestSets(); foreach (var ts in sortingTests.TestSets) { ts.Value.PerformTests(false); } }
static void Main(string[] args) { //var a = new SortingMethods(); //int[] tab = new int[] { 9,6,4,7,2,6 }; //for(int i = 0; i<tab.Length; i++) //{ //Console.Write(a.ShellSort(tab)[i].ToString() + ", " ); //} SortingTestModule sortingTests = new SortingTestModule(); sortingTests.PrepareTestSets(); foreach (var ts in sortingTests.TestSets) { ts.Value.PerformTests(false); } }