Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assertParseFails (0.11 sec)

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

        for (int i = 0; i <= 0xff; i++) {
          assertThat(UnsignedBytes.parseUnsignedByte(Integer.toString(i))).isEqualTo((byte) i);
        }
        assertParseFails("1000");
        assertParseFails("-1");
        assertParseFails("-128");
        assertParseFails("256");
      }
    
      public void testMaxValue() {
        assertThat(UnsignedBytes.compare(UnsignedBytes.MAX_VALUE, (byte) (UnsignedBytes.MAX_VALUE + 1)))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top