mirror of
https://gitlab.uni-marburg.de/langbeid/powersort.git
synced 2025-04-01 07:26:01 +02:00
refactor
This commit is contained in:
parent
89c0ca10c7
commit
f5ddbbd6ff
@ -95,7 +95,7 @@ public class ASort {
|
||||
private static <T> void merge(T[] array, Comparator<? super T> comparator, int lo, int mid, int hi) {
|
||||
List<T> merged = Arrays.stream(array, lo, mid)
|
||||
.sorted(comparator)
|
||||
.collect(Collectors.toList());
|
||||
.toList();
|
||||
|
||||
int i = 0, j = mid, k = lo;
|
||||
|
||||
|
@ -15,7 +15,7 @@ public abstract class AbstractSortTest {
|
||||
SortEnum sortAlg;
|
||||
|
||||
@ParameterizedTest
|
||||
@CsvSource({
|
||||
@CsvSource(value = {
|
||||
"''",
|
||||
"1337",
|
||||
"2|3|1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user