|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
    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__). 
   70 #endif // TestTools_expect_h 
  
bool cmp_eq< double >(double a, double b)
bool cmp_eq< float >(float a, float b)
void EXPECTED(const T &e)
void NOT_EXPECTED(const T &e)
functions & macros to test the difference between floats
TestedValue(const T &v, std::string &&f, int l)