[Please do not mail me a copy of your followup]
boost@lists.boost.org spake the secret code
Bjorn Reese
writes: On 08/09/2013 09:01 PM, Gennadiy Rozental wrote:
features and these are indeed completely missing from docs. Even worse
use number of old interfaces, which are now deprecated. Most important example is testing tools: BOOST_CHECK_EQUAL, BOOST_CHECK_CLOSE - all
they 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