Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/collect/
DRangeTest.java105 Range<Integer> range = Ranges.closedOpen(5, 8); in testClosedOpen()
125 assertFalse(Ranges.closed(3, 5).isConnected(Ranges.closedOpen(7, 7))); in testIsConnected()
152 Range<Integer> range = Ranges.closedOpen(4, 4); in testEmpty1()
313 assertFalse(range.encloses(Ranges.closedOpen(2, 5))); in testEncloses_open()
328 assertTrue(range.encloses(Ranges.closedOpen(2, 5))); in testEncloses_closed()
341 Range<Integer> range = Ranges.closedOpen(3, 3); in testIntersection_empty()
362 assertEquals(Ranges.closedOpen(4, 4), in testIntersection_deFactoEmpty()
390 assertEquals(Ranges.closedOpen(3, 3), in testIntersection_singleton()
418 assertEquals(Ranges.closedOpen(4, 4), in testIntersection_general()
419 range.intersection(Ranges.closedOpen(2, 4))); in testIntersection_general()
[all …]
DContiguousSetTest.java65 Ranges.closedOpen(1, 4).asSet(integers()), in testEquals()
69 Ranges.closedOpen(1, 4).asSet(NOT_EQUAL_TO_INTEGERS), in testEquals()
85 ContiguousSet<Integer> empty = Ranges.closedOpen(1, 1).asSet(integers()); in testSerialization()
228 assertEquals(Ranges.closed(1, 3), Ranges.closedOpen(1, 4).asSet(integers()).range()); in testRange()
235 Ranges.closedOpen(1, 4).asSet(integers()).range(OPEN, CLOSED)); in testRange()
241 assertEquals(Ranges.open(0, 4), Ranges.closedOpen(1, 4).asSet(integers()).range(OPEN, OPEN)); in testRange()
245 assertEquals(Ranges.closedOpen(1, 4), in testRange()
247 assertEquals(Ranges.closedOpen(1, 4), in testRange()
248 Ranges.closedOpen(1, 4).asSet(integers()).range(CLOSED, OPEN)); in testRange()
249 assertEquals(Ranges.closedOpen(1, 4), Ranges.open(0, 4).asSet(integers()).range(CLOSED, OPEN)); in testRange()
[all …]
DRangesTest.java92 Ranges.closedOpen(1, 7), in testEquivalentFactories()
/external/guava/guava/src/com/google/common/collect/
DRanges.java108 public static <C extends Comparable<?>> Range<C> closedOpen( in closedOpen() method in Ranges