Home | History | Annotate | Download | only in test

Lines Matching full:tuple

58 using std::tr1::tuple;
109 const tuple<int, bool> t(5, true);
110 EXPECT_THAT(t, Args<>(Eq(tuple<>())));
111 EXPECT_THAT(t, Not(Args<>(Ne(tuple<>()))));
115 const tuple<int, bool> t(5, true);
122 const tuple<short, int, long> t(4, 5, 6L); // NOLINT
130 const tuple<short, int, long> t(4, 5, 6L); // NOLINT
136 const tuple<short, int, long> t(4, 5, 6L); // NOLINT
161 const tuple<short, int, long, int> t(4, 5, 6L, 6); // NOLINT
167 typedef tuple<char, int, int> Tuple3;
174 typedef tuple<char, char, int> Tuple3;
195 const Matcher<tuple<int, bool, char> > m = Args<2, 0>(Lt());
196 EXPECT_EQ("are a tuple whose fields (#2, #0) are a pair where "
202 const Matcher<const tuple<int, bool, char, int>&> m =
204 EXPECT_EQ("are a tuple whose fields (#0, #2, #3) are a tuple "
210 const Matcher<tuple<int, char> > m = Args<1, 0>(Gt());
211 EXPECT_EQ("are a tuple whose fields (#1, #0) aren't a pair "
217 const Matcher<tuple<bool, int, int> > m = Args<1, 2>(Eq());
225 class LessThanMatcher : public MatcherInterface<tuple<char, int> > {
229 virtual bool MatchAndExplain(tuple<char, int> value,
240 Matcher<tuple<char, int> > LessThan() {
245 const Matcher<tuple<char, int, int> > m = Args<0, 2>(LessThan());
511 ::std::tr1::tuple<int*, size_t> array_as_tuple(array, 2);