|
Boost : |
From: Ullrich Koethe (u.koethe_at_[hidden])
Date: 2001-12-06 17:20:43
rogeeff wrote:
> > valuable standalone. Regarding CHECK_CLOSE family: I would prefer
> to
> > keep them as short form of above statements.
> >
>
> Oh! It's really cool. We now do not need nor BOOST_CHECK_NOT_EQUAL
> nor BOOST_CHECK_LESS nor any other binary predicate check as
> standalone tools. Also this mean that floating-point comparison could
> be easily factored out of Test Tools without loosing a functionallity
> (other than I won't be able to introduce any special printing only
> default operator<< will be used, so we will still have 1!= 1 and I
> won't show a tolerance, for there won't be such thing any more).
>
> Do you want me to do this?
>
As said above, provide the predicate-based macros, but keep
BOOST_CHECK_CLOSE etc. as a shorthand that also takes care of the
correct printing of floating point numbers.
Ulli
-- ________________________________________________________________ | | | Ullrich Koethe Universität Hamburg / University of Hamburg | | FB Informatik / Dept. of Computer Science | | AB Kognitive Systeme / Cognitive Systems Group | | | | Phone: +49 (0)40 42883-2573 Vogt-Koelln-Str. 30 | | Fax: +49 (0)40 42883-2572 D - 22527 Hamburg | | Email: u.koethe_at_[hidden] Germany | | koethe_at_[hidden] | | WWW: http://kogs-www.informatik.uni-hamburg.de/~koethe/ | |________________________________________________________________|
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk