Home | History | Annotate | Download | only in test

Lines Matching refs:TypedEq

119 using testing::TypedEq;
563 Matcher<char> m3 = SafeMatcherCast<char>(TypedEq<int>('a'));
720 // Tests that TypedEq<T>(v) matches values of type T that's equal to v.
722 Matcher<char> m1 = TypedEq<char>('a');
726 Matcher<int> m2 = TypedEq<int>(6);
731 // Tests that TypedEq(v) describes itself properly.
733 EXPECT_EQ("is equal to 2", Describe(TypedEq<int>(2)));
736 // Tests that TypedEq<T>(v) has type Matcher<T>.
751 // Verfies that the type of TypedEq<T>(v) is Matcher<T>.
752 Type<Matcher<int> >::IsTypeOf(TypedEq<int>(5));
753 Type<Matcher<double> >::IsTypeOf(TypedEq<double>(5));