|
Boost : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-02-08 16:01:00
> | I prefer shorter names. Test module name is equivalent for
> | the master test suite name.
>
> OK, but will it allow one to NAME the master test suite?
I am not sure what you mean. BOSOT_TEST_MODULE gives single name to the test
module - the name of the master test suite.
> Paul
>
> PS Talking of names I don't really like
>
> BOOST_CHECK_SMALL
>
> and IMO it should be BOOST_CHECK_SMALLER
>
> (only 2 letters longer ;¬)
>
> because it is really an absolute less_than function (MACRO).
Not really.
BOOST_CHECK_SMALL( a, t ) checks that absolute value of a is small.
Specifically it checks that |a| < t. Name seems correct IMO.
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk