32TEST(ContainsInOrderMatcher, CanDescribeItself)
35 ASSERT_EQ(::testing::DescribeMatcher<std::vector<int>>(matcher),
"contains in order elements that match (is equal to 3, is equal to 4)");
37 const auto matcher_not = ::testing::Not(
ContainsInOrder<int>(::testing::Eq(3), ::testing::Eq(4)));
38 ASSERT_EQ(::testing::DescribeMatcher<std::vector<int>>(matcher_not),
"does not contain in order elements that match (is equal to 3, is equal to 4)");
42TEST(ContainsInOrderMatcher, Matches)
44 const std::vector<int> vec{1, 2, 3, 4};