Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testClosed (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/RangeTest.java

      }
    
      public void testOpen_invalid() {
        assertThrows(IllegalArgumentException.class, () -> Range.open(4, 3));
        assertThrows(IllegalArgumentException.class, () -> Range.open(3, 3));
      }
    
      public void testClosed() {
        Range<Integer> range = Range.closed(5, 7);
        checkContains(range);
        assertTrue(range.hasLowerBound());
        assertEquals(5, (int) range.lowerEndpoint());
        assertEquals(CLOSED, range.lowerBoundType());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    		}
    		testReadFrom struct { // ReadFrom(testFile{ops}) == (wantCnt, wantErr)
    			ops     fileOps
    			wantCnt int64
    			wantErr error
    		}
    		testClose struct { // Close() == wantErr
    			wantErr error
    		}
    		testFnc any // testHeader | testWrite | testReadFrom | testClose
    	)
    
    	vectors := []struct {
    		file  string // Optional filename of expected output
    		tests []testFnc
    	}{{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top