Lines Matching refs:n1
2191 bool SumIsEven2(int n1, int n2) {
2192 return IsEven(n1 + n2);
2198 bool operator()(int n1, int n2, int n3) {
2199 return IsEven(n1 + n2 + n3);
2207 int n1, int n2, int n3, int n4) {
2208 const int sum = n1 + n2 + n3 + n4;
2215 << " (" << n1 << " + " << n2 << " + " << n3 << " + " << n4
2225 const char* e5, int n1, int n2, int n3, int n4, int n5) {
2226 const int sum = n1 + n2 + n3 + n4 + n5;
2234 << n1 << " + " << n2 << " + " << n3 << " + " << n4 << " + " << n5
2299 const int n1 = 1;
2302 EXPECT_PRED2(SumIsEven2, n1, n2) << "This failure is expected.";
2317 const int n1 = 1;
2322 EXPECT_PRED_FORMAT4(AssertSumIsEven4, n1, n2, n3, n4);
2334 int n1 = 0;
2336 EXPECT_PRED2(SumIsEven2, n1++, n2++);
2337 EXPECT_EQ(1, n1) << "Argument 1 is not evaluated exactly once.";
2341 n1 = n2 = 0;
2346 n1++, n2++, n3++, n4++, n5++)
2348 EXPECT_EQ(1, n1) << "Argument 1 is not evaluated exactly once.";
2355 n1 = n2 = n3 = 0;
2357 EXPECT_PRED3(SumIsEven3Functor(), ++n1, n2++, n3++)
2360 EXPECT_EQ(1, n1) << "Argument 1 is not evaluated exactly once.";
2365 n1 = n2 = n3 = n4 = 0;
2367 EXPECT_PRED_FORMAT4(AssertSumIsEven4, ++n1, n2++, n3++, n4++);
2369 EXPECT_EQ(1, n1) << "Argument 1 is not evaluated exactly once.";