Skip to content

Commit ffb0ed8

Browse files
clang format fixed
1 parent b46a1b4 commit ffb0ed8

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/test/java/com/thealgorithms/bitmanipulation/SwapAdjacentBitsTest.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ class SwapAdjacentBitsTest {
99

1010
@ParameterizedTest
1111
@CsvSource({
12-
"2, 1", // 2 (10 in binary) should become 1 (01 in binary)
13-
"43, 23", // 43 should become 23
12+
"2, 1", // 2 (10 in binary) should become 1 (01 in binary)
13+
"43, 23", // 43 should become 23
1414
"153, 102", // 153 should become 102
15-
"15, 15", // 15 (1111) remains 15 (1111)
16-
"0, 0" // 0 (0000) remains 0 (0000)
15+
"15, 15", // 15 (1111) remains 15 (1111)
16+
"0, 0" // 0 (0000) remains 0 (0000)
1717
})
18-
void testSwapAdjacentBits(int input, int expected) {
18+
void
19+
testSwapAdjacentBits(int input, int expected) {
1920
assertEquals(expected, SwapAdjacentBits.swapAdjacentBits(input));
2021
}
2122
}

0 commit comments

Comments
 (0)