7 #ifndef __PHOENIX_CHECK_IMPL_H__
8 #define __PHOENIX_CHECK_IMPL_H__
20 bool phoenix_check(
const std::string & testName,
const T & val,
const T & reference){
21 bool b(val == reference);
23 std::cout <<
"phoenix_check : " << testName <<
" => " <<
phoenix_isOk(b) << std::endl;
24 std::cout <<
"\tval = '"<<val<<
"'" << std::endl;
25 std::cout <<
"\treference = '"<<reference<<
"'" << std::endl;
bool phoenix_check(const std::string &testName, const T &val, const T &reference)
Check two value.
std::string phoenix_isOk(bool b)
Print OK or FAIL depending on the given boolean.