35 #ifndef LIB_TEST_DIAGNOSTIC_OUTPUT_H 36 #define LIB_TEST_DIAGNOSTIC_OUTPUT_H 42 #include <boost/lexical_cast.hpp> 62 #define SHOW_TYPE(_TY_) \ 63 cout << "typeof( " << STRINGIFY(_TY_) << " )= " << lib::test::showType<_TY_>() <<endl; 64 #define SHOW_EXPR(_XX_) \ 65 cout << "#--◆--# " << STRINGIFY(_XX_) << " ? = " << util::toString(_XX_) <<endl; 66 #define SHOW_EXPL(_XX_) \ 67 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.