adding IMPL_M_1Test sort method to the abstract list sorting test

This commit is contained in:
M-H9 2025-01-15 22:53:17 +01:00
parent a684cb30ec
commit 1ab2bdc2a0
5 changed files with 12 additions and 5 deletions

View File

@ -23,7 +23,7 @@ public class JmhCgl extends JmhBase {
// Either all or a selection of sort implementations. // Either all or a selection of sort implementations.
//@Param() //@Param()
@Param({"TIM_SORT", "FINN_SORT", "IMPL_M_11"}) @Param({"TIM_SORT", "FASTER_FINN_SORT", "IMPL_M_11"})
SortEnum sortEnum; SortEnum sortEnum;
@Override @Override
@ -42,4 +42,4 @@ public class JmhCgl extends JmhBase {
public void benchmark() { public void benchmark() {
sortImpl.sort(workingCopy); sortImpl.sort(workingCopy);
} }
} }

View File

@ -4,4 +4,4 @@ public class ASortTest extends AbstractSortTest {
ASortTest() { ASortTest() {
sortAlg = SortEnum.ASORT; sortAlg = SortEnum.ASORT;
} }
} }

View File

@ -5,4 +5,4 @@ public class FasterFinnSortTest extends AbstractSortTest {
sortAlg = SortEnum.FASTER_FINN_SORT; sortAlg = SortEnum.FASTER_FINN_SORT;
} }
} }

View File

@ -4,4 +4,4 @@ public class FinnSortTest extends AbstractSortTest {
FinnSortTest() { FinnSortTest() {
sortAlg = SortEnum.FINN_SORT; sortAlg = SortEnum.FINN_SORT;
} }
} }

View File

@ -0,0 +1,7 @@
package de.uni_marburg.powersort.sort;
public class IMPL_M_1Test extends AbstractSortTest {
IMPL_M_1Test() {
sortAlg = SortEnum.IMPL_M_11;
}
}