|
Boost : |
Subject: Re: [boost] [test] still broken in release
From: Richard (legalize+jeeves_at_[hidden])
Date: 2013-08-12 22:23:28
[Please do not mail me a copy of your followup]
boost_at_[hidden] spake the secret code
<loom.20130810T190308-14_at_[hidden]> thusly:
>Bjorn Reese <breese <at> mail1.stofanet.dk> writes:
>
>>
>> On 08/09/2013 09:01 PM, Gennadiy Rozental wrote:
>>
>> > features and these are indeed completely missing from docs. Even worse
>they
>> > use number of old interfaces, which are now deprecated. Most important
>> > example is testing tools: BOOST_CHECK_EQUAL, BOOST_CHECK_CLOSE - all
>these
>>
>> BOOST_CHECK_EQUAL has been deprecated? What should be used instead?
>
>BOOST_TEST( a == b )
>
>This will produce as good an output. You can also do
>
>BOOST_TEST( a > b )
>BOOST_TEST( a != b )
>BOOST_TEST( a + b < 2 )
So what "level" is this?
- warning (emit message, test case continues and is not marked failed)
- check (emit message, test case contines and is marked failed)
- require (emit message, test case does not contiue and is marked failed)
-- "The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline> The Computer Graphics Museum <http://computergraphicsmuseum.org> The Terminals Wiki <http://terminals.classiccmp.org> Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk