Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testFromIpv6BigIntegerThrowsLessThanZero (0.18 sec)

  1. guava-tests/test/com/google/common/net/InetAddressesTest.java

                () -> InetAddresses.fromIPv4BigInteger(BigInteger.valueOf(-1L)));
        assertEquals("BigInteger must be greater than or equal to 0", expected.getMessage());
      }
    
      public void testFromIpv6BigIntegerThrowsLessThanZero() {
        IllegalArgumentException expected =
            assertThrows(
                IllegalArgumentException.class,
                () -> InetAddresses.fromIPv6BigInteger(BigInteger.valueOf(-1L)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
Back to top