File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/test/java/com/thealgorithms/bitmanipulation Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 22
33import static org .junit .jupiter .api .Assertions .assertFalse ;
44import static org .junit .jupiter .api .Assertions .assertTrue ;
5+
56import org .junit .jupiter .api .Test ;
67
78class PowerOfFourTest {
8-
9+
910 @ Test
1011 void testPowersOfFour () {
1112 assertTrue (PowerOfFour .isPowerOfFour (1 ));
@@ -15,7 +16,7 @@ void testPowersOfFour() {
1516 assertTrue (PowerOfFour .isPowerOfFour (256 ));
1617 assertTrue (PowerOfFour .isPowerOfFour (1024 ));
1718 }
18-
19+
1920 @ Test
2021 void testNonPowersOfFour () {
2122 assertFalse (PowerOfFour .isPowerOfFour (2 ));
@@ -25,7 +26,7 @@ void testNonPowersOfFour() {
2526 assertFalse (PowerOfFour .isPowerOfFour (15 ));
2627 assertFalse (PowerOfFour .isPowerOfFour (32 ));
2728 }
28-
29+
2930 @ Test
3031 void testEdgeCases () {
3132 assertFalse (PowerOfFour .isPowerOfFour (0 ));
You can’t perform that action at this time.
0 commit comments