Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/test/test-helper.hpp"
Helper to produce better diagnostic messages when comparing to an expected result string.
This type can be used to mark a std::string
in order to invoke a special rigged equality test. The counterpart for equality conversion can be any arbitrary type, on which some kind of string conversion can be performed
Definition at line 323 of file test-helper.hpp.
Friends | |
ExpectString | operator+ (std::string &&l, ExpectString &&r) |
template<typename X > | |
bool | operator== (X const &x, ExpectString const &expected) |
template<typename X > | |
bool | operator== (ExpectString const &expected, X const &x) |
Private Member Functions | |
bool | verify (std::string const &actual) const |
|
private |
check equality and print difference
<iostream>
in header Definition at line 88 of file test-helper.cpp.