Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testReadArrayRange (0.41 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));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  2. 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));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.5K bytes
    - Viewed (0)
Back to top