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

/gem5/ext/googletest/googletest/test/
H A Dgtest_unittest.cc757 static bool IsPositive(int n) { return n > 0; } function in namespace:__anon65
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));
2348 bool IsPositive(double x) { function in namespace:__anon65
2366 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT
2367 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT
/gem5/ext/googletest/googlemock/test/
H A Dgmock-matchers_test.cc2435 int IsPositive(double x) { function in namespace:testing::gmock_matchers_test
2463 Matcher<double> m = Truly(IsPositive);
2500 Matcher<double> m = Truly(IsPositive);

Completed in 49 milliseconds