Lines Matching defs:num
422 // Helper to allow easy testing of AllOf matchers with num parameters.
423 void AllOfMatches(int num, const Matcher<int>& m) {
426 for (int i = 1; i <= num; ++i) {
429 EXPECT_TRUE(m.Matches(num + 1));
601 // Helper to allow easy testing of AnyOf matchers with num parameters.
602 static void AnyOfMatches(int num, const Matcher<int>& m) {
605 for (int i = 1; i <= num; ++i) {
608 EXPECT_FALSE(m.Matches(num + 1));
611 static void AnyOfStringMatches(int num, const Matcher<std::string>& m) {
615 for (int i = 1; i <= num; ++i) {
618 EXPECT_FALSE(m.Matches(std::to_string(num + 1)));