Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testParseUnsignedByte (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        try {
          UnsignedBytes.parseUnsignedByte(value, radix);
          fail();
        } catch (NumberFormatException expected) {
        }
      }
    
      public void testParseUnsignedByte() {
        // We can easily afford to test this exhaustively.
        for (int i = 0; i <= 0xff; i++) {
          assertThat(UnsignedBytes.parseUnsignedByte(Integer.toString(i))).isEqualTo((byte) i);
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top