
20 Jul
2004
20 Jul
'04
4:21 p.m.
Vladimir Prus wrote:
Of all Boost.Test functionality I use only 'test_main' and BOOST_CHECK, and I'd be really gratefull if that subset just worked.
#include <boost/detail/lightweight_test.hpp> int main() { int x = 0; BOOST_TEST( ++x == 1 ); BOOST_TEST( ++x == 1 ); return boost::report_errors(); }