Re: Boost.Test problems (Was: [boost] Multiple link definitions on Darwintests)

21 Jul
2004
21 Jul
'04
3:51 p.m.
Joel de Guzman wrote: Peter Dimov wrote:
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(); }
From the very beginning I've been using:
#include <boost/test> Int main(){ BOOST_CHECK(...); Return boost:success; } I've never had a problem and have been pleased as punch. Robert Ramey
7633
Age (days ago)
7633
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Ramey