Home
last modified time | relevance | path

Searched refs:openClosed (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DContiguousSetTest.java66 Ranges.openClosed(0, 3).asSet(integers()), in testEquals()
70 Ranges.openClosed(0, 3).asSet(NOT_EQUAL_TO_INTEGERS), in testEquals()
230 assertEquals(Ranges.closed(1, 3), Ranges.openClosed(0, 3).asSet(integers()).range()); in testRange()
232 assertEquals(Ranges.openClosed(0, 3), in testRange()
234 assertEquals(Ranges.openClosed(0, 3), in testRange()
236 assertEquals(Ranges.openClosed(0, 3), Ranges.open(0, 4).asSet(integers()).range(OPEN, CLOSED)); in testRange()
237 assertEquals(Ranges.openClosed(0, 3), in testRange()
238 Ranges.openClosed(0, 3).asSet(integers()).range(OPEN, CLOSED)); in testRange()
243 assertEquals(Ranges.open(0, 4), Ranges.openClosed(0, 3).asSet(integers()).range(OPEN, OPEN)); in testRange()
251 Ranges.openClosed(0, 3).asSet(integers()).range(CLOSED, OPEN)); in testRange()
DRangeTest.java91 Range<Integer> range = Ranges.openClosed(4, 7); in testOpenClosed()
120 assertTrue(Ranges.closed(3, 5).isConnected(Ranges.openClosed(5, 5))); in testIsConnected()
168 Range<Integer> range = Ranges.openClosed(4, 4); in testEmpty2()
301 assertTrue(Ranges.openClosed(3, 3).containsAll( in testContainsAll()
312 assertFalse(range.encloses(Ranges.openClosed(2, 5))); in testEncloses_open()
327 assertTrue(range.encloses(Ranges.openClosed(2, 5))); in testEncloses_closed()
360 assertEquals(Ranges.openClosed(3, 3), in testIntersection_deFactoEmpty()
377 assertEquals(Ranges.openClosed(4, 4), in testIntersection_deFactoEmpty()
392 assertEquals(Ranges.openClosed(3, 3), in testIntersection_singleton()
449 assertEquals(Ranges.openClosed(8, 8), in testIntersection_general()
[all …]
DRangesTest.java86 Ranges.openClosed(1, 7), in testEquivalentFactories()
/external/guava/guava/src/com/google/common/collect/
DRanges.java120 public static <C extends Comparable<?>> Range<C> openClosed( in openClosed() method in Ranges