Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRemoveMiddle (0.08 sec)

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

        assertThat(rangeSet.complement().asRanges())
            .containsExactly(Range.lessThan(3), Range.greaterThan(3))
            .inOrder();
      }
    
      public void testRemoveMiddle() {
        TreeRangeSet<Integer> rangeSet = TreeRangeSet.create();
        rangeSet.add(Range.atMost(6));
        rangeSet.remove(Range.closedOpen(3, 4));
        testInvariants(rangeSet);
        assertThat(rangeSet.asRanges())
    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