Is the value equal to another value, as tested by the invoked method? Basically the same as IsSame
which compares by reference and a specializable comparison template.
More...
Public Member Functions | |
IsEqual (const T &equalArg) | |
Constructs the object. | |
virtual | ~IsEqual () |
Destroys the object. | |
virtual bool | eval (const T &arg) const |
Evaluates the constraint. | |
virtual String | describeTo (String &buffer) const |
Appends the description of this object to the buffer. |
Is the value equal to another value, as tested by the invoked method? Basically the same as IsSame
which compares by reference and a specializable comparison template.
Definition at line 70 of file IsEqual.h.
mockpp::IsEqual< T >::IsEqual | ( | const T & | equalArg | ) | [inline] |
virtual String mockpp::IsEqual< T >::describeTo | ( | String & | buffer | ) | const [inline, virtual] |
Appends the description of this object to the buffer.
buffer | The buffer that the description is appended to. |
Implements mockpp::SelfDescribing.
virtual bool mockpp::IsEqual< T >::eval | ( | const T & | arg | ) | const [inline, virtual] |
Evaluates the constraint.
arg | the object against which the constraint is evaluated. |
Implements mockpp::Constraint< T >.