File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/test/java/com/thealgorithms/bitmanipulation Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ public void testNextHigherPowerOfTwo() {
18
18
@ Test
19
19
public void testNextLowerPowerOfTwo () {
20
20
assertEquals (16 , HigherLowerPowerOfTwo .nextLowerPowerOfTwo (19 )); // next lower power of two is 16
21
- assertEquals (1 , HigherLowerPowerOfTwo .nextLowerPowerOfTwo (1 )); // next lower power of two is 1
22
- assertEquals (8 , HigherLowerPowerOfTwo .nextLowerPowerOfTwo (9 )); // next lower power of two is 8
23
- assertEquals (8 , HigherLowerPowerOfTwo .nextLowerPowerOfTwo (15 )); // next lower power of two is 8
24
- assertEquals (8 , HigherLowerPowerOfTwo .nextLowerPowerOfTwo (8 )); // next lower power of two is 8
21
+ assertEquals (1 , HigherLowerPowerOfTwo .nextLowerPowerOfTwo (1 )); // next lower power of two is 1
22
+ assertEquals (8 , HigherLowerPowerOfTwo .nextLowerPowerOfTwo (9 )); // next lower power of two is 8
23
+ assertEquals (8 , HigherLowerPowerOfTwo .nextLowerPowerOfTwo (15 ));// next lower power of two is 8
24
+ assertEquals (8 , HigherLowerPowerOfTwo .nextLowerPowerOfTwo (8 )); // next lower power of two is 8
25
25
}
26
26
}
You can’t perform that action at this time.
0 commit comments