Lines Matching refs:Explain
133 EXPECT_EQ("value % 2 == 0", Explain(m, 2));
134 EXPECT_EQ("value % 2 == 1", Explain(m, 3));
371 EXPECT_EQ("% 2 == 0", Explain(m1, 42));
382 EXPECT_EQ("% 2 == 0", Explain(m2, '\x42'));
1139 EXPECT_THAT(Explain(Matcher<const int&>(Ref(n)), n),
1143 EXPECT_THAT(Explain(Matcher<const int&>(Ref(n)), m),
1377 Explain(m, make_pair(5, true)));
1379 Explain(m, make_pair(15, true)));
1490 Explain(m, make_pair(-1, -2)));
1495 Explain(m, make_pair(1, -2)));
1500 Explain(m, make_pair(-1, 2)));
1507 Explain(m, make_pair(1, 2)));
1515 Explain(explain_first, make_pair(1, 0)));
1523 Explain(explain_second, make_pair(0, 1)));
1606 Explain(m, std::make_tuple(-1, -2, -3)));
1608 Explain(m, std::make_tuple(1, -2, -3)));
1610 Explain(m, std::make_tuple(1, 2, -3)));
1618 Explain(m, std::make_tuple(1, 2, 3)));
1626 Explain(m, std::make_tuple(1, 0, 3)));
1633 Explain(m, std::make_tuple(0, 1, 0)));
2239 TEST(WhenDynamicCastToTest, Explain) {
2242 EXPECT_THAT(Explain(matcher, null), HasSubstr("NULL"));
2245 EXPECT_THAT(Explain(matcher, &derived), HasSubstr("which points to "));
2249 EXPECT_THAT(Explain(ref_matcher, derived),
2300 EXPECT_EQ("which is 1 modulo 4", Explain(m, 5));
2307 EXPECT_EQ("which is 2 modulo 4", Explain(m, 6));
2314 EXPECT_EQ("which is 2 modulo 3", Explain(m, 5));
2321 EXPECT_EQ("which is 0 modulo 2, and which is 0 modulo 3", Explain(m, 6));
2326 EXPECT_EQ("", Explain(m, 2));
2333 EXPECT_EQ("which is 1 more than 5", Explain(m, 6));