Skip to content

Commit b84af74

Browse files
authored
Update StalinSortTest.java
1 parent c650a9b commit b84af74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/com/thealgorithms/sorts/StalinSortTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class StalinSortTest {
99
public void testSortIntegers() {
1010
StalinSort stalinSort = new StalinSort();
1111
Integer[] input = {4, 23, 6, 78, 1, 54, 231, 9, 12};
12-
Integer[] expected = {4, 23, 78, 231};
12+
Integer[] expected = {4, 23, 78, 231};
1313
Integer[] result = stalinSort.sort(input);
1414
assertArrayEquals(expected, result);
1515
}
@@ -27,7 +27,7 @@ public void testSortStrings() {
2727
public void testSortWithDuplicates() {
2828
StalinSort stalinSort = new StalinSort();
2929
Integer[] input = {1, 3, 2, 2, 5, 4};
30-
Integer[] expected = {1, 2, 5};
30+
Integer[] expected = {1, 2, 5};
3131
Integer[] result = stalinSort.sort(input);
3232
assertArrayEquals(expected, result);
3333
}
@@ -36,7 +36,7 @@ public void testSortWithDuplicates() {
3636
public void testSortEmptyArray() {
3737
StalinSort stalinSort = new StalinSort();
3838
Integer[] input = {};
39-
Integer[] expected = {};
39+
Integer[] expected = {};
4040
Integer[] result = stalinSort.sort(input);
4141
assertArrayEquals(expected, result);
4242
}

0 commit comments

Comments
 (0)