Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCanonical (0.16 sec)

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

            }
    
            @Override
            public long distance(Integer start, Integer end) {
              return integers().distance(start, end);
            }
          };
    
      public void testCanonical() {
        assertEquals(Range.closedOpen(1, 5), Range.closed(1, 4).canonical(integers()));
        assertEquals(Range.closedOpen(1, 5), Range.open(0, 5).canonical(integers()));
    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