Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCeilingPowerOfTwoZero (0.08 sec)

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

        for (BigInteger x : NEGATIVE_BIGINTEGER_CANDIDATES) {
          assertThrows(IllegalArgumentException.class, () -> BigIntegerMath.floorPowerOfTwo(x));
        }
      }
    
      public void testCeilingPowerOfTwoZero() {
        assertThrows(
            IllegalArgumentException.class, () -> BigIntegerMath.ceilingPowerOfTwo(BigInteger.ZERO));
      }
    
      public void testFloorPowerOfTwoZero() {
        assertThrows(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Nov 19 01:35:24 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/IntMathTest.java

      public void testFloorPowerOfTwoNegative() {
        for (int x : NEGATIVE_INTEGER_CANDIDATES) {
          assertThrows(IllegalArgumentException.class, () -> IntMath.floorPowerOfTwo(x));
        }
      }
    
      public void testCeilingPowerOfTwoZero() {
        assertThrows(IllegalArgumentException.class, () -> IntMath.ceilingPowerOfTwo(0));
      }
    
      public void testFloorPowerOfTwoZero() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top