Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSingleBoundedAboveRange (0.25 sec)

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

        assertFalse(rangeSet.contains(0));
        assertFalse(rangeSet.contains(2));
    
        assertEquals(ImmutableRangeSet.of(Range.atMost(2)), rangeSet.complement());
      }
    
      public void testSingleBoundedAboveRange() {
        ImmutableRangeSet<Integer> rangeSet = ImmutableRangeSet.of(Range.atMost(3));
    
        assertThat(rangeSet.asRanges()).contains(Range.atMost(3));
    
        assertTrue(rangeSet.intersects(Range.closed(3, 4)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top