Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testParseIntWithRadix (0.15 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        }
      }
    
      public void testParseIntFail() {
        assertThrows(
            NumberFormatException.class, () -> UnsignedInts.parseUnsignedInt(Long.toString(1L << 32)));
      }
    
      public void testParseIntWithRadix() {
        for (long a : UNSIGNED_INTS) {
          for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
            assertThat(UnsignedInts.parseUnsignedInt(Long.toString(a, radix), radix))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top