Searched defs:IsPositive (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/testing/gtest/test/
H A Dgtest_unittest.cc757 static bool IsPositive(int n) { return n > 0; } function in namespace:__anon10886
761 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works for an empty container.
765 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works when no value satisfies.
770 EXPECT_EQ(2, CountIf(v, IsPositive));
2334 bool IsPositive(double x) { function in namespace:__anon10886
2352 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT
2353 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT
/external/gtest/test/
H A Dgtest_unittest.cc764 static bool IsPositive(int n) { return n > 0; } function in namespace:__anon21618
768 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works for an empty container.
772 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works when no value satisfies.
777 EXPECT_EQ(2, CountIf(v, IsPositive));
2341 bool IsPositive(double x) { function in namespace:__anon21618
2359 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT
2360 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT
/external/protobuf/gtest/test/
H A Dgtest_unittest.cc2618 bool IsPositive(int n) { function in namespace:__anon28922
2622 bool IsPositive(double x) { function in namespace:__anon28922
2640 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT
2641 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT

Completed in 302 milliseconds