Searched refs:DoesAdjoinOrIntersect (Results 1 – 2 of 2) sorted by relevance
224 TEST(RangeTest, DoesAdjoinOrIntersect) { in TEST() argument227 EXPECT_FALSE(r.DoesAdjoinOrIntersect(RangeT(1, 1))); in TEST()228 EXPECT_TRUE(r.DoesAdjoinOrIntersect(RangeT(1, 2))); in TEST()229 EXPECT_TRUE(r.DoesAdjoinOrIntersect(RangeT(2, 2))); in TEST()230 EXPECT_TRUE(r.DoesAdjoinOrIntersect(RangeT(4, 2))); in TEST()231 EXPECT_TRUE(r.DoesAdjoinOrIntersect(RangeT(6, 2))); in TEST()232 EXPECT_TRUE(r.DoesAdjoinOrIntersect(RangeT(7, 2))); in TEST()233 EXPECT_FALSE(r.DoesAdjoinOrIntersect(RangeT(8, 2))); in TEST()
53 if (DoesAdjoinOrIntersect(rhs)) { in Union()91 bool DoesAdjoinOrIntersect(const Range &rhs) const { in DoesAdjoinOrIntersect() function199 return a.DoesAdjoinOrIntersect(b); in CombineConsecutiveRanges()210 if (back.DoesAdjoinOrIntersect(*pos)) in CombineConsecutiveRanges()