Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testTryParse_radixTooBig (0.11 sec)

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

        assertWithMessage("Radix: " + radix)
            .that(Ints.tryParse(Integer.toString(value, radix), radix))
            .isEqualTo(value);
      }
    
      public void testTryParse_radixTooBig() {
        assertThrows(IllegalArgumentException.class, () -> Ints.tryParse("0", Character.MAX_RADIX + 1));
      }
    
      public void testTryParse_radixTooSmall() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertWithMessage("Radix: " + radix)
            .that(Longs.tryParse(Long.toString(value, radix), radix))
            .isEqualTo(value);
      }
    
      public void testTryParse_radixTooBig() {
        assertThrows(
            IllegalArgumentException.class, () -> Longs.tryParse("0", Character.MAX_RADIX + 1));
      }
    
      public void testTryParse_radixTooSmall() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top