Skip to content

Commit e292d96

Browse files
correcting test case
1 parent c1cabb2 commit e292d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ private static Stream<Arguments> provideNumbersForPowerFour() {
3030
Arguments.of(16, Boolean.TRUE), // 4^2
3131
Arguments.of(64, Boolean.TRUE), // 4^3
3232
Arguments.of(256, Boolean.TRUE), // 4^4
33-
Arguments.of(1024, Boolean.FALSE), // 1024 = 2^10, not 4^n
33+
Arguments.of(1024, Boolean.TRUE), // 4^5
3434
Arguments.of(0, Boolean.FALSE), // 0 is not a power of four
3535
Arguments.of(-4, Boolean.FALSE), // Negative number
3636
Arguments.of(-16, Boolean.FALSE), // Negative number

0 commit comments

Comments
 (0)