Lines Matching defs:size
1172 // SizeIs should work for any type that provides a size() member function.
1175 int size() const { return 1; }
1185 EXPECT_EQ("has a size that is equal to 2", Describe(m));
1186 EXPECT_EQ("has a size that isn't equal to 2", DescribeNegation(m));
1195 EXPECT_EQ("whose size 0 doesn't match", Explain(m1, container));
1196 EXPECT_EQ("whose size 0 matches", Explain(m2, container));
1197 EXPECT_EQ("whose size 0 matches", Explain(m3, container));
1198 EXPECT_EQ("whose size 0 doesn't match", Explain(m4, container));
1201 EXPECT_EQ("whose size 2 matches", Explain(m1, container));
1202 EXPECT_EQ("whose size 2 doesn't match", Explain(m2, container));
1203 EXPECT_EQ("whose size 2 doesn't match", Explain(m3, container));
1204 EXPECT_EQ("whose size 2 matches", Explain(m4, container));
1842 // size() or empty() methods.
1949 // size() or empty() methods.
2783 MOCK_METHOD(void, Helper, (int* array, int size));
2818 // Declared here with the size unknown. Defined AFTER the following test.
2822 // The size of kHi is not known in this test, but ElementsAre() should
2866 EXPECT_THAT(test_vector, ElementsAreArray(a.data(), a.size()));
2870 EXPECT_THAT(test_vector, Not(ElementsAreArray(p, a.size())));