This commit is contained in:
Daniel Langbein 2024-12-17 09:52:43 +00:00
parent 7a8f1c7f8d
commit b754184272
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ public enum SortEnum {
// BUBBLE_SORT,
MERGE_SORT,
TIM_SORT,
FIN_SORT,
FINN_SORT,
ASORT;
public SortImpl getSortImpl() {
@ -15,7 +15,7 @@ public enum SortEnum {
// case BUBBLE_SORT -> array -> BubbleSort.sort(array, NaturalOrder.INSTANCE);
case MERGE_SORT -> array -> MergeSort.legacyMergeSort(array, NaturalOrder.INSTANCE);
case TIM_SORT -> array -> TimSort.sort(array, 0, array.length, NaturalOrder.INSTANCE, null, 0, 0);
case FIN_SORT -> array -> FinnSort.sort(array, NaturalOrder.INSTANCE);
case FINN_SORT -> array -> FinnSort.sort(array, NaturalOrder.INSTANCE);
case ASORT -> array -> ASort.sort(array, NaturalOrder.INSTANCE);
};
}

View File

@ -2,6 +2,6 @@ package de.uni_marburg.powersort.sort;
public class FinnSortTest extends AbstractSortTest {
FinnSortTest() {
sortAlg = SortEnum.FIN_SORT;
sortAlg = SortEnum.FINN_SORT;
}
}