Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReadArrayRange (0.09 sec)

  1. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

        assertEquals(1, counter.getCount());
      }
    
      public void testReadArray() throws IOException {
        assertEquals(10, counter.read(new byte[10]));
        assertEquals(10, counter.getCount());
      }
    
      public void testReadArrayRange() throws IOException {
        assertEquals(3, counter.read(new byte[10], 1, 3));
        assertEquals(3, counter.getCount());
      }
    
      public void testSkip() throws IOException {
        assertEquals(10, counter.skip(10));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top