Skip to content

Commit b13797e

Browse files
author
Tomislav Marinkovic
committed
Remove calculation of runtime on tests
1 parent 3ae095c commit b13797e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/sort/algorithm/InsertionSortTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class InsertionSortTest {
1111
@Test
1212
void shouldSort() {
1313
int[] data = new int[]{6, 65, 7, 9, 88, 4, 50, 24, 6};
14-
int[] actual = new InsertionSort(true).run(new Input(data));
14+
int[] actual = new InsertionSort(false).run(new Input(data));
1515
int[] expected = new int[]{4, 6, 6, 7, 9, 24, 50, 65, 88};
1616

1717
assertArrayEquals(actual, expected);

test/sort/algorithm/MergeSortTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class MergeSortTest {
1010
@Test
1111
void shouldSort() {
1212
int[] data = new int[]{1,2,5,7,12,6,7,8,9};
13-
int[] actual = new MergeSort(true).run(new Input(data, 4));
13+
int[] actual = new MergeSort(false).run(new Input(data, 4));
1414
int[] expected = new int[]{1,2,5,6,7,7,8,9,12};
1515

1616
assertArrayEquals(actual, expected);

0 commit comments

Comments
 (0)