Skip to content

Commit 5775bf4

Browse files
author
alxkm
committed
checkstyle: fix formatting
1 parent 397ee61 commit 5775bf4

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/test/java/com/thealgorithms/stacks/NextSmallerElementTest.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,8 @@ void testFindNextSmallerElements(int[] input, int[] expected) {
1919
}
2020

2121
static Stream<Arguments> provideTestCases() {
22-
return Stream.of(
23-
Arguments.of(new int[]{2, 7, 3, 5, 4, 6, 8}, new int[]{-1, 2, 2, 3, 3, 4, 6}),
24-
Arguments.of(new int[]{5}, new int[]{-1}),
25-
Arguments.of(new int[]{1, 2, 3, 4, 5}, new int[]{-1, 1, 2, 3, 4}),
26-
Arguments.of(new int[]{5, 4, 3, 2, 1}, new int[]{-1, -1, -1, -1, -1}),
27-
Arguments.of(new int[]{4, 5, 2, 25}, new int[]{-1, 4, -1, 2}),
28-
Arguments.of(new int[]{}, new int[]{})
29-
);
22+
return Stream.of(Arguments.of(new int[] {2, 7, 3, 5, 4, 6, 8}, new int[] {-1, 2, 2, 3, 3, 4, 6}), Arguments.of(new int[] {5}, new int[] {-1}), Arguments.of(new int[] {1, 2, 3, 4, 5}, new int[] {-1, 1, 2, 3, 4}), Arguments.of(new int[] {5, 4, 3, 2, 1}, new int[] {-1, -1, -1, -1, -1}),
23+
Arguments.of(new int[] {4, 5, 2, 25}, new int[] {-1, 4, -1, 2}), Arguments.of(new int[] {}, new int[] {}));
3024
}
3125

3226
@Test

0 commit comments

Comments
 (0)