Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSpan_general (0.12 sec)

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

        assertEquals(Range.open(2, 4), closedRange.gap(Range.atMost(2)));
      }
    
      // TODO(cpovirk): More extensive testing of gap().
    
      public void testSpan_general() {
        Range<Integer> range = Range.closed(4, 8);
    
        // separate below
        assertEquals(Range.closed(0, 8), range.span(Range.closed(0, 2)));
        assertEquals(Range.atMost(8), range.span(Range.atMost(2)));
    
    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