5#ifndef TestTools_expect_h
6#define TestTools_expect_h
40 std::cerr <<
m_file <<
":" <<
m_line <<
": error: Test failed, "
41 <<
"expected: " << e <<
" obtained: " <<
m_value <<
"\n";
47 std::cerr <<
m_file <<
":" <<
m_line <<
": error: Test failed, "
48 <<
"NOT expected: " << e <<
" obtained: " <<
m_value <<
"\n";
59#define VALUE( TESTED ) Athena_test::TestedValue<decltype(TESTED)>(TESTED, __FILE__, __LINE__).
TestedValue(const T &v, std::string &&f, int l)
void EXPECTED(const T &e)
void NOT_EXPECTED(const T &e)
functions & macros to test the difference between floats
bool cmp_eq< float >(float a, float b)
bool cmp_eq< double >(double a, double b)