diff -r 0c6556a8e105 -r 716b220697a0 test/test_tools.h --- a/test/test_tools.h Fri Jun 20 11:09:30 2008 +0100 +++ b/test/test_tools.h Thu Mar 27 16:27:23 2008 +0100 @@ -24,6 +24,7 @@ ///\brief Some utilities to write test programs. #include +#include ///If \c rc is fail, writes an error message and exits. @@ -36,8 +37,6 @@ ///\code check(0==1,"This is obviously false.");\endcode will ///print something like this (and then exits). ///\verbatim file_name.cc:123: error: This is obviously false. \endverbatim -/// -///\todo It should be in \c assert.h #define check(rc, msg) \ if(!(rc)) { \ std::cerr << __FILE__ ":" << __LINE__ << ": error: " << msg << std::endl; \