Home
last modified time | relevance | path

Searched refs:expectedComplement (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DImmutableRangeSetTest.java178 RangeSet<Integer> expectedComplement = TreeRangeSet.create(); in testSingleBoundedRange() local
179 expectedComplement.add(Range.lessThan(1)); in testSingleBoundedRange()
180 expectedComplement.add(Range.atLeast(5)); in testSingleBoundedRange()
182 assertEquals(expectedComplement, rangeSet.complement()); in testSingleBoundedRange()
231 RangeSet<Integer> expectedComplement = ImmutableRangeSet.<Integer>builder() in testMultipleBoundedRanges() local
237 assertEquals(expectedComplement, rangeSet.complement()); in testMultipleBoundedRanges()
252 RangeSet<Integer> expectedComplement = ImmutableRangeSet.<Integer>builder() in testMultipleBoundedBelowRanges() local
257 assertEquals(expectedComplement, rangeSet.complement()); in testMultipleBoundedBelowRanges()
272 RangeSet<Integer> expectedComplement = ImmutableRangeSet.<Integer>builder() in testMultipleBoundedAboveRanges() local
277 assertEquals(expectedComplement, rangeSet.complement()); in testMultipleBoundedAboveRanges()
DTreeRangeSetTest.java207 private RangeSet<Integer> expectedComplement(RangeSet<Integer> rangeSet) { in expectedComplement() method in TreeRangeSetTest
234 testViewAgainstExpected(expectedComplement(rangeSet), rangeSet.complement()); in testComplement()
247 expectedSubRangeSet(expectedComplement(rangeSet), subRange), in testSubRangeSetOfComplement()
262 expectedComplement(expectedSubRangeSet(rangeSet, subRange)), in testComplementOfSubRangeSet()