Lines Matching defs:Explain
134 EXPECT_EQ("value % 2 == 0", Explain(m, 2));
135 EXPECT_EQ("value % 2 == 1", Explain(m, 3));
372 EXPECT_EQ("% 2 == 0", Explain(m1, 42));
383 EXPECT_EQ("% 2 == 0", Explain(m2, '\x42'));
1140 EXPECT_THAT(Explain(Matcher<const int&>(Ref(n)), n),
1144 EXPECT_THAT(Explain(Matcher<const int&>(Ref(n)), m),
1378 Explain(m, make_pair(5, true)));
1380 Explain(m, make_pair(15, true)));
1491 Explain(m, make_pair(-1, -2)));
1496 Explain(m, make_pair(1, -2)));
1501 Explain(m, make_pair(-1, 2)));
1508 Explain(m, make_pair(1, 2)));
1516 Explain(explain_first, make_pair(1, 0)));
1524 Explain(explain_second, make_pair(0, 1)));
1607 Explain(m, std::make_tuple(-1, -2, -3)));
1609 Explain(m, std::make_tuple(1, -2, -3)));
1611 Explain(m, std::make_tuple(1, 2, -3)));
1619 Explain(m, std::make_tuple(1, 2, 3)));
1627 Explain(m, std::make_tuple(1, 0, 3)));
1634 Explain(m, std::make_tuple(0, 1, 0)));
2262 TEST(WhenDynamicCastToTest, Explain) {
2265 EXPECT_THAT(Explain(matcher, null), HasSubstr("NULL"));
2268 EXPECT_THAT(Explain(matcher, &derived), HasSubstr("which points to "));
2272 EXPECT_THAT(Explain(ref_matcher, derived),
2323 EXPECT_EQ("which is 1 modulo 4", Explain(m, 5));
2330 EXPECT_EQ("which is 2 modulo 4", Explain(m, 6));
2337 EXPECT_EQ("which is 2 modulo 3", Explain(m, 5));
2344 EXPECT_EQ("which is 0 modulo 2, and which is 0 modulo 3", Explain(m, 6));
2349 EXPECT_EQ("", Explain(m, 2));
2356 EXPECT_EQ("which is 1 more than 5", Explain(m, 6));