Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-07-20 11:21:45


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();
}


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk