|
Celeritas 0.7-develop+0ab295a
|
Store and update an assertion result. More...
#include <AssertionHelper.hh>
Public Member Functions | |
| AssertionHelper (char const *expected_expr, char const *actual_expr, char const *tol_expr=default_tol_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 && () && | |
| char const * | expected_expr () const |
| Get the expected expression string. | |
| char const * | actual_expr () const |
| Get the actual expression string. | |
| char const * | tol_expr () const |
| Get the tolerance expression string. | |
Store and update an assertion result.
This is used for IsRefEq implementations. For example: