Home
last modified time | relevance | path

Searched refs:IsPositive (Results 1 – 1 of 1) sorted by relevance

/ndk/sources/third_party/googletest/googletest/test/
Dgtest_unittest.cc773 static bool IsPositive(int n) { return n > 0; } in IsPositive() function
777 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works for an empty container. in TEST()
781 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works when no value satisfies. in TEST()
786 EXPECT_EQ(2, CountIf(v, IsPositive)); in TEST()
2350 bool IsPositive(double x) { in IsPositive() function
2368 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT in TEST()
2369 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT in TEST()