Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCeilingPowerOfTwoNegative (0.73 sec)

  1. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

          assertTrue(BigIntegerMath.isPowerOfTwo(result));
          assertThat(result).isAtMost(x);
          assertThat(result.add(result)).isGreaterThan(x);
        }
      }
    
      public void testCeilingPowerOfTwoNegative() {
        for (BigInteger x : NEGATIVE_BIGINTEGER_CANDIDATES) {
          assertThrows(IllegalArgumentException.class, () -> BigIntegerMath.ceilingPowerOfTwo(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)
Back to top