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

/gem5/ext/googletest/googlemock/src/
H A Dgmock-cardinalities.cc49 // Implements the Between(m, n) cardinality.
107 // Describes the Between(m, n) cardinality in human-friendly text.
140 GTEST_API_ Cardinality AtLeast(int n) { return Between(n, INT_MAX); }
143 GTEST_API_ Cardinality AtMost(int n) { return Between(0, n); }
149 GTEST_API_ Cardinality Between(int min, int max) { function in namespace:testing
154 GTEST_API_ Cardinality Exactly(int n) { return Between(n, n); }
/gem5/ext/googletest/googlemock/test/
H A Dgmock-cardinalities_test.cc46 using testing::Between;
243 // Tests Between(m, n).
247 Between(-1, 2);
253 Between(1, -2);
259 Between(2, 1);
265 const Cardinality c = Between(0, 0);
280 const Cardinality c = Between(0, 2);
298 const Cardinality c = Between(3, 3);
316 const Cardinality c = Between(3, 5);
337 const Cardinality c = Between(
[all...]
H A Dgmock-spec-builders_test.cc69 using testing::Between;
590 .Times(Between(1, 2))
680 .Times(Between(2, 3))
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-cardinalities.h135 GTEST_API_ Cardinality Between(int min, int max);

Completed in 14 milliseconds