Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        rangeSet.add(Range.closed(3, 6));
        rangeSet.remove(Range.closed(2, 7));
        testInvariants(rangeSet);
        assertThat(rangeSet.asRanges()).isEmpty();
      }
    
      public void testRangeContaining1() {
        RangeSet<Integer> rangeSet = TreeRangeSet.create();
        rangeSet.add(Range.closed(3, 10));
        assertEquals(Range.closed(3, 10), rangeSet.rangeContaining(5));
        assertTrue(rangeSet.contains(5));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top