- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testCeilingPowerOfTwo (0.06 sec)
-
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
import org.jspecify.annotations.NullMarked; /** * Tests for BigIntegerMath. * * @author Louis Wasserman */ @NullMarked @GwtCompatible public class BigIntegerMathTest extends TestCase { public void testCeilingPowerOfTwo() { for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) { BigInteger result = BigIntegerMath.ceilingPowerOfTwo(x); assertTrue(BigIntegerMath.isPowerOfTwo(result)); assertThat(result).isAtLeast(x);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Nov 19 01:35:24 UTC 2025 - 27.1K bytes - Viewed (0)