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 {
99 @ Test
1010 public void testClearLeftmostSetBit () {
1111 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
1515 }
1616}
You can’t perform that action at this time.
0 commit comments