aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock-cardinalities_test.cc
diff options
context:
space:
mode:
authorShaindel Schwartz <shaindel@google.com>2019-09-12 12:10:51 -0400
committerShaindel Schwartz <shaindel@google.com>2019-09-12 12:10:51 -0400
commitc7a03daa99e7c457561b5dd2afc0eddab166e48e (patch)
treeef122e5c8d5e0c5239a29f1a56012445f59cb867 /googlemock/test/gmock-cardinalities_test.cc
parentac24edd6e06114818b1a29c99bb81153514f7fb2 (diff)
parent7bd4a7f3e9ae46bb7d99fc5fd5dd1a137496bb6a (diff)
downloadgoogletest-c7a03daa99e7c457561b5dd2afc0eddab166e48e.tar.gz
googletest-c7a03daa99e7c457561b5dd2afc0eddab166e48e.tar.bz2
googletest-c7a03daa99e7c457561b5dd2afc0eddab166e48e.zip
Merge pull request #2387 from kuzkry:iff
PiperOrigin-RevId: 268693457
Diffstat (limited to 'googlemock/test/gmock-cardinalities_test.cc')
-rw-r--r--googlemock/test/gmock-cardinalities_test.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/googlemock/test/gmock-cardinalities_test.cc b/googlemock/test/gmock-cardinalities_test.cc
index 66042d40..ca97cae2 100644
--- a/googlemock/test/gmock-cardinalities_test.cc
+++ b/googlemock/test/gmock-cardinalities_test.cc
@@ -395,12 +395,14 @@ TEST(ExactlyTest, HasCorrectBounds) {
class EvenCardinality : public CardinalityInterface {
public:
- // Returns true if call_count calls will satisfy this cardinality.
+ // Returns true if and only if call_count calls will satisfy this
+ // cardinality.
bool IsSatisfiedByCallCount(int call_count) const override {
return (call_count % 2 == 0);
}
- // Returns true if call_count calls will saturate this cardinality.
+ // Returns true if and only if call_count calls will saturate this
+ // cardinality.
bool IsSaturatedByCallCount(int /* call_count */) const override {
return false;
}