Skip to content

Commit c27bd88

Browse files
author
alxkm
committed
Fix braces wrong placement
1 parent 822a694 commit c27bd88

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/test/java/com/thealgorithms/backtracking/SubsequenceTest.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,14 @@ void testLengthOfTwo() {
2525

2626
@Test
2727
void testLengthOfThree() {
28-
List<List<String>> expected = List.of(List.of(), List.of("C"), List.of("B"), List.of("B", "C"), List.of("A"), List.of("A", "C"), List.of("A", "B"), List.of("A", "B", "C")
29-
);
28+
List<List<String>> expected = List.of(List.of(), List.of("C"), List.of("B"), List.of("B", "C"), List.of("A"), List.of("A", "C"), List.of("A", "B"), List.of("A", "B", "C"));
3029
List<List<Object>> actual = Subsequence.generateAllSubsequences(List.of("A", "B", "C"));
3130
assertIterableEquals(expected, actual);
3231
}
3332

3433
@Test
3534
void testLengthOfThreeInteger() {
36-
List<List<Integer>> expected = List.of(List.of(), List.of(3), List.of(2), List.of(2, 3), List.of(1), List.of(1, 3), List.of(1, 2), List.of(1, 2, 3)
37-
);
35+
List<List<Integer>> expected = List.of(List.of(), List.of(3), List.of(2), List.of(2, 3), List.of(1), List.of(1, 3), List.of(1, 2), List.of(1, 2, 3));
3836
List<List<Object>> actual = Subsequence.generateAllSubsequences(List.of(1, 2, 3));
3937
assertIterableEquals(expected, actual);
4038
}

0 commit comments

Comments
 (0)