public void quick3waySort() { int[] data = datasource; ArraySorter <int> .quick3waySort(data, comparison); Assert.IsTrue(data.isSorted(comparison)); }
public void parallelMergeSort() { int[] data = datasource; ArraySorter <int> .parallelMergeSort(data, comparison); Assert.IsTrue(data.isSorted(comparison)); }
public void selectionSort() { int[] data = datasource; ArraySorter <int> .selectionSort(data, comparison); Assert.IsTrue(data.isSorted(comparison)); }
public void quick3waySort() => ArraySorter <char> .quick3waySort(data);
// [Benchmark] public void parallelMergeSort() => ArraySorter <char> .parallelMergeSort(data);
public void mergeSort() => ArraySorter <char> .mergeSort(data);
public void shellSort() => ArraySorter <char> .shellSort(data);
public void insertionSort() => ArraySorter <char> .insertionSort(data);
// [Benchmark] public void selectionSort() => ArraySorter <char> .selectionSort(data);