Lines Matching refs:intersectWith
214 TEST_F(ConstantRangeTest, IntersectWith) {
215 EXPECT_EQ(Empty.intersectWith(Full), Empty);
216 EXPECT_EQ(Empty.intersectWith(Empty), Empty);
217 EXPECT_EQ(Empty.intersectWith(One), Empty);
218 EXPECT_EQ(Empty.intersectWith(Some), Empty);
219 EXPECT_EQ(Empty.intersectWith(Wrap), Empty);
220 EXPECT_EQ(Full.intersectWith(Full), Full);
221 EXPECT_EQ(Some.intersectWith(Some), Some);
222 EXPECT_EQ(Some.intersectWith(One), One);
223 EXPECT_EQ(Full.intersectWith(One), One);
224 EXPECT_EQ(Full.intersectWith(Some), Some);
225 EXPECT_EQ(Some.intersectWith(Wrap), Empty);
226 EXPECT_EQ(One.intersectWith(Wrap), Empty);
227 EXPECT_EQ(One.intersectWith(Wrap), Wrap.intersectWith(One));
234 EXPECT_TRUE(LHS.intersectWith(RHS) == LHS);