26 #ifndef LIB_TEST_DIAGNOSTIC_OUTPUT_H 27 #define LIB_TEST_DIAGNOSTIC_OUTPUT_H 33 #include <boost/lexical_cast.hpp> 53 #define SHOW_TYPE(_TY_) \ 54 cout << "typeof( " << STRINGIFY(_TY_) << " )= " << lib::test::showType<_TY_>() <<endl; 55 #define SHOW_EXPR(_XX_) \ 56 cout << "#--◆--# " << STRINGIFY(_XX_) << " ? = " << util::toString(_XX_) <<endl; 57 #define SHOW_EXPL(_XX_) \ 58 cout << "#--◆--# " << STRINGIFY(_XX_) << " ? = " << boost::lexical_cast<string>(_XX_) <<endl;
Implementation namespace for support and library code.
A collection of frequently used helper functions to support unit testing.