Skip to content

Commit ed46304

Browse files
author
alxkm
committed
checkstyle: fix formatting
1 parent f7752e8 commit ed46304

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/test/java/com/thealgorithms/strings/ReverseStringRecursiveTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77

88
public class ReverseStringRecursiveTest {
99
@ParameterizedTest
10-
@CsvSource({"'Hello World', 'dlroW olleH'", "'helloworld', 'dlrowolleh'", "'123456789', '987654321'", "'', ''", "'A', 'A'", "'!123 ABC xyz!', '!zyx CBA 321!'", "'Abc 123 Xyz', 'zyX 321 cbA'", "'12.34,56;78:90', '09:87;65,43.21'", "'abcdEFGHiJKL', 'LKJiHGFEdcba'", "'MixOf123AndText!', '!txeTdnA321fOxiM'"})
11-
public void testReverseString(String input, String expectedOutput) {
10+
@CsvSource({"'Hello World', 'dlroW olleH'", "'helloworld', 'dlrowolleh'", "'123456789', '987654321'", "'', ''", "'A', 'A'", "'!123 ABC xyz!', '!zyx CBA 321!'", "'Abc 123 Xyz', 'zyX 321 cbA'", "'12.34,56;78:90', '09:87;65,43.21'", "'abcdEFGHiJKL', 'LKJiHGFEdcba'",
11+
"'MixOf123AndText!', '!txeTdnA321fOxiM'"})
12+
public void
13+
testReverseString(String input, String expectedOutput) {
1214
assertEquals(expectedOutput, ReverseStringRecursive.reverse(input));
1315
}
1416
}

0 commit comments

Comments
 (0)