Skip to content

Commit f4103db

Browse files
author
alxkm
committed
checkstyle: fix formatting
1 parent 82354df commit f4103db

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/test/java/com/thealgorithms/dynamicprogramming/SubsetSumTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
class SubsetSumTest {
1010

11-
record TestCase(int[] arr, int sum, boolean expected) {}
11+
record TestCase(int[] arr, int sum, boolean expected) {
12+
}
1213

1314
@ParameterizedTest
1415
@MethodSource("provideTestCases")
@@ -17,7 +18,7 @@ void testSubsetSum(TestCase testCase) {
1718
}
1819

1920
private static Stream<TestCase> provideTestCases() {
20-
return Stream.of(new TestCase(new int[] {50, 4, 10, 15, 34}, 64, true), new TestCase(new int[] {50, 4, 10, 15, 34}, 99, true), new TestCase(new int[] {50, 4, 10, 15, 34}, 5, false),
21-
new TestCase(new int[] {50, 4, 10, 15, 34}, 66, false), new TestCase(new int[] {}, 0, true), new TestCase(new int[] {1, 2, 3}, 6, true), new TestCase(new int[] {1, 2, 3}, 7, false), new TestCase(new int[] {3, 34, 4, 12, 5, 2}, 9, true));
21+
return Stream.of(new TestCase(new int[] {50, 4, 10, 15, 34}, 64, true), new TestCase(new int[] {50, 4, 10, 15, 34}, 99, true), new TestCase(new int[] {50, 4, 10, 15, 34}, 5, false), new TestCase(new int[] {50, 4, 10, 15, 34}, 66, false), new TestCase(new int[] {}, 0, true),
22+
new TestCase(new int[] {1, 2, 3}, 6, true), new TestCase(new int[] {1, 2, 3}, 7, false), new TestCase(new int[] {3, 34, 4, 12, 5, 2}, 9, true));
2223
}
2324
}

0 commit comments

Comments
 (0)