Lines Matching refs:match
115 const bool match = x % 2 == 0;
123 return match;
321 // Using a polymorphic matcher to match a reference type.
329 // Using a polymorphic matcher to match a value type.
825 // Tests that Eq(v) can be used to match any type that supports
1489 EXPECT_EQ("whose first field does not match, which is 1 less than 0",
1494 EXPECT_EQ("whose second field does not match, which is 2 less than 0",
1497 // If the first field doesn't match but the second does, Pair()
1499 EXPECT_EQ("whose first field does not match, which is 1 less than 0",
1502 // If both fields match, Pair() should explain about them both.
1504 "whose both fields match, where the first field is a value "
1509 // If only the first match has an explanation, only this explanation should
1513 "whose both fields match, where the first field is a value "
1517 // If only the second match has an explanation, only this explanation should
1521 "whose both fields match, where the second field is a value "
1529 // Both fields match.
1533 // 'first' doesnt' match, but 'second' matches.
1537 // 'first' matches, but 'second' doesn't match.
1578 // All fields match.
1582 // Some don't match.
1605 EXPECT_EQ("whose field #0 does not match, which is 1 less than 0",
1607 EXPECT_EQ("whose field #1 does not match, which is 2 less than 0",
1609 EXPECT_EQ("whose field #2 does not match, which is 3 less than 0",
1612 // If they all match, we get a long explanation of success.
1614 "whose all elements match, "
1623 "whose all elements match, "
1631 "whose all elements match, "
1638 // testing::FieldsAre can also match aggregates and such with C++17 and up.