Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testPutCoalescingEmpty (0.15 sec)

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

        rangeMap.putCoalescing(Range.closedOpen(2, 3), 2);
        assertEquals(
            ImmutableMap.of(Range.closedOpen(0, 2), 1, Range.closedOpen(2, 3), 2),
            rangeMap.asMapOfRanges());
      }
    
      public void testPutCoalescingEmpty() {
        RangeMap<Integer, Integer> rangeMap = TreeRangeMap.create();
        rangeMap.put(Range.closedOpen(0, 1), 1);
        rangeMap.put(Range.closedOpen(1, 2), 1);
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Oct 06 13:04:03 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top