Celeritas 0.6.0-2+develop.96611fab
|
Store and update an assertion result. More...
#include <AssertionHelper.hh>
Public Member Functions | |
AssertionHelper (char const *expected_expr, char const *actual_expr) | |
Construct with expected/actual expressions. | |
::testing::AssertionResult & | fail () |
Fail and return a streamable object. | |
bool | equal_size (std::size_t expected, std::size_t actual) |
Check the sizes, returning success, adding failure message if not. | |
operator::testing::AssertionResult const & () const | |
Get the streamable assertion result. | |
operator::testing::AssertionResult && () && | |
Store and update an assertion result.
This is used for IsRefEq implementations. For example: