From b754184272198db6f53987d9a0438f3704c94985 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Tue, 17 Dec 2024 09:52:43 +0000 Subject: [PATCH] typo --- app/src/main/java/de/uni_marburg/powersort/sort/SortEnum.java | 4 ++-- .../test/java/de/uni_marburg/powersort/sort/FinnSortTest.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/de/uni_marburg/powersort/sort/SortEnum.java b/app/src/main/java/de/uni_marburg/powersort/sort/SortEnum.java index 1b636d9..976bfd8 100644 --- a/app/src/main/java/de/uni_marburg/powersort/sort/SortEnum.java +++ b/app/src/main/java/de/uni_marburg/powersort/sort/SortEnum.java @@ -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); }; } diff --git a/app/src/test/java/de/uni_marburg/powersort/sort/FinnSortTest.java b/app/src/test/java/de/uni_marburg/powersort/sort/FinnSortTest.java index 17578ac..4ec57dd 100644 --- a/app/src/test/java/de/uni_marburg/powersort/sort/FinnSortTest.java +++ b/app/src/test/java/de/uni_marburg/powersort/sort/FinnSortTest.java @@ -2,6 +2,6 @@ package de.uni_marburg.powersort.sort; public class FinnSortTest extends AbstractSortTest { FinnSortTest() { - sortAlg = SortEnum.FIN_SORT; + sortAlg = SortEnum.FINN_SORT; } }