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

/gem5/ext/googletest/googlemock/test/
H A Dgmock-matchers_test.cc3822 int IntFunction(int input) { return input == 42 ? 80 : 90; } function in namespace:testing::gmock_matchers_test
3825 Matcher<int> matcher = ResultOf(&IntFunction, Ge(85));
3829 matcher = ResultOf(&IntFunction, GreaterThan(85));
3837 Matcher<int> matcher = ResultOf(&IntFunction, Eq(80));
3885 // IntFunction() returns int but the inner matcher expects a signed char.
3886 Matcher<int> matcher = ResultOf(IntFunction, Matcher<signed char>(Ge(85)));

Completed in 26 milliseconds