Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGap_connectedAdjacentYieldsEmpty (0.29 sec)

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

        assertThrows(IllegalArgumentException.class, () -> Range.atMost(2).gap(Range.atMost(1)));
      }
    
      public void testGap_connectedAdjacentYieldsEmpty() {
        Range<Integer> range = Range.open(3, 4);
    
        assertEquals(Range.closedOpen(4, 4), range.gap(Range.atLeast(4)));
        assertEquals(Range.openClosed(3, 3), range.gap(Range.atMost(3)));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top