File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/com/thealgorithms/bitmanipulation Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ public class ClearLeftmostSetBitTest {
9
9
@ Test
10
10
public void testClearLeftmostSetBit () {
11
11
assertEquals (10 , ClearLeftmostSetBit .clearLeftmostSetBit (26 )); // 11010 -> 01010
12
- assertEquals (0 , ClearLeftmostSetBit .clearLeftmostSetBit (1 )); // 1 -> 0
13
- assertEquals (3 , ClearLeftmostSetBit .clearLeftmostSetBit (7 )); // 111 -> 011
14
- assertEquals (2 , ClearLeftmostSetBit .clearLeftmostSetBit (6 )); // 0110 -> 0010
12
+ assertEquals (0 , ClearLeftmostSetBit .clearLeftmostSetBit (1 )); // 1 -> 0
13
+ assertEquals (3 , ClearLeftmostSetBit .clearLeftmostSetBit (7 )); // 111 -> 011
14
+ assertEquals (2 , ClearLeftmostSetBit .clearLeftmostSetBit (6 )); // 0110 -> 0010
15
15
}
16
16
}
You can’t perform that action at this time.
0 commit comments