$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Robert Ramey (ramey_at_[hidden])
Date: 2004-07-21 10:51:40
>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