Lines Matching refs:Contains
71 using testing::Contains;
975 EXPECT_THAT(some_list, Contains(1)); in TEST()
976 EXPECT_THAT(some_list, Contains(Gt(2.5))); in TEST()
977 EXPECT_THAT(some_list, Contains(Eq(2.0f))); in TEST()
984 EXPECT_THAT(another_list, Contains(std::string("fee"))); in TEST()
991 EXPECT_THAT(some_list, Not(Contains(4))); in TEST()
999 EXPECT_THAT(some_set, Contains(Eq(1.0))); in TEST()
1000 EXPECT_THAT(some_set, Contains(Eq(3.0f))); in TEST()
1001 EXPECT_THAT(some_set, Contains(2)); in TEST()
1008 EXPECT_THAT(another_set, Contains(Eq(std::string("fum")))); in TEST()
1015 EXPECT_THAT(some_set, Not(Contains(4))); in TEST()
1019 EXPECT_THAT(c_string_set, Not(Contains(std::string("hello").c_str()))); in TEST()
1024 Matcher<const int (&)[2]> m = Contains(2); in TEST()
1027 m = Contains(3); in TEST()
1030 m = Contains(GreaterThan(0)); in TEST()
1033 m = Contains(GreaterThan(10)); in TEST()
1038 Matcher<vector<int> > m = Contains(1); in TEST()
1049 EXPECT_THAT(my_map, Contains(pair<const char* const, int>(bar, 2))); in TEST()
1057 Contains(pair<const std::string, int>(std::string("fee"), 1))); in TEST()
1058 EXPECT_THAT(another_map, Contains(pair<const std::string, int>("fie", 2))); in TEST()
1065 EXPECT_THAT(some_map, Not(Contains(pair<const int, int>(2, 23)))); in TEST()
1070 EXPECT_THAT(string_array, Contains(Eq(std::string("fum")))); in TEST()
1075 EXPECT_THAT(int_array, Not(Contains(5))); in TEST()
1080 EXPECT_THAT(a, Contains(Gt(2))); in TEST()
1081 EXPECT_THAT(a, Not(Contains(Gt(4)))); in TEST()
1087 EXPECT_THAT(std::make_tuple(pointer, 2), Contains(1)); in TEST()
1088 EXPECT_THAT(std::make_tuple(pointer, 2), Not(Contains(Gt(3)))); in TEST()
1093 EXPECT_THAT(a, Contains(ElementsAre(4, 5, 6))); in TEST()
1094 EXPECT_THAT(a, Contains(Contains(5))); in TEST()
1095 EXPECT_THAT(a, Not(Contains(ElementsAre(3, 4, 5)))); in TEST()
1096 EXPECT_THAT(a, Contains(Not(Contains(5)))); in TEST()