Update cook_book.md
This commit is contained in:
parent
9954babcfe
commit
b0482de348
|
@ -2711,7 +2711,7 @@ class MatcherInterface {
|
|||
public:
|
||||
virtual ~MatcherInterface();
|
||||
|
||||
// Returns true if the matcher matches x; also explains the match
|
||||
// Returns true if and only if the matcher matches x; also explains the match
|
||||
// result to 'listener'.
|
||||
virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
|
||||
|
||||
|
@ -2842,10 +2842,11 @@ class CardinalityInterface {
|
|||
public:
|
||||
virtual ~CardinalityInterface();
|
||||
|
||||
// Returns true iff call_count calls will satisfy this cardinality.
|
||||
// Returns true if and only if call_count calls will satisfy this cardinality.
|
||||
virtual bool IsSatisfiedByCallCount(int call_count) const = 0;
|
||||
|
||||
// Returns true iff call_count calls will saturate this cardinality.
|
||||
// Returns true if and only if call_count calls will saturate this
|
||||
// cardinality.
|
||||
virtual bool IsSaturatedByCallCount(int call_count) const = 0;
|
||||
|
||||
// Describes self to an ostream.
|
||||
|
|
Loading…
Reference in New Issue
Block a user