Searched refs:ConvertibleFromAny (Results 1 – 2 of 2) sorted by relevance
549 struct ConvertibleFromAny { struct550 ConvertibleFromAny(int a_value) : value(a_value) {} in ConvertibleFromAny() function552 ConvertibleFromAny(const T& a_value) : value(-1) { in ConvertibleFromAny() function558 bool operator==(const ConvertibleFromAny& a, const ConvertibleFromAny& b) { in operator ==()562 ostream& operator<<(ostream& os, const ConvertibleFromAny& a) { in operator <<()567 Matcher<ConvertibleFromAny> m = MatcherCast<ConvertibleFromAny>(1); in TEST()568 EXPECT_TRUE(m.Matches(ConvertibleFromAny(1))); in TEST()569 EXPECT_FALSE(m.Matches(ConvertibleFromAny(2))); in TEST()573 Matcher<ConvertibleFromAny> m = in TEST()574 MatcherCast<ConvertibleFromAny>(Eq(ConvertibleFromAny(1))); in TEST()[all …]
718 struct ConvertibleFromAny { struct719 ConvertibleFromAny(int a_value) : value(a_value) {} in ConvertibleFromAny() function721 ConvertibleFromAny(const T& /*a_value*/) : value(-1) { in ConvertibleFromAny() argument727 bool operator==(const ConvertibleFromAny& a, const ConvertibleFromAny& b) { in operator ==()731 ostream& operator<<(ostream& os, const ConvertibleFromAny& a) { in operator <<()736 Matcher<ConvertibleFromAny> m = MatcherCast<ConvertibleFromAny>(1); in TEST()737 EXPECT_TRUE(m.Matches(ConvertibleFromAny(1))); in TEST()738 EXPECT_FALSE(m.Matches(ConvertibleFromAny(2))); in TEST()742 Matcher<ConvertibleFromAny> m = in TEST()743 MatcherCast<ConvertibleFromAny>(Eq(ConvertibleFromAny(1))); in TEST()[all …]