
| -----Original Message----- | From: boost-bounces@lists.boost.org | [mailto:boost-bounces@lists.boost.org] On Behalf Of Gennadiy Rozental | Sent: 09 November 2006 20:38 | To: boost@lists.boost.org | Subject: Re: [boost] Boost.Test feature request | | "Paul A Bristow" <pbristow@hetp.u-net.com> wrote in message | news:E1Gi70F-0007ak-LX@he304war.uk.vianw.net... | > I'd also like to see additional macros provided to exactly | duplicate | > BOOST_CHECK_CLOSE (and warn and require of course) but with | > names | > | > BOOST_CHECK_CLOSE_PERCENT ... | > | > to reduce continuing confusion with percent and fractions. | | There is already | BOOST_CHECK_CLOSE and BOOST_CHECK_CLOSE_FRACTION. First | based on percent | tolerance. Second is based on fraction tolerance Yes, but it's a matter of making it absolutely clear to the reader that the check is with tolerance as a percent - without him having to re-check the docs to refresh his (in my case failing) memory. Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow@hetp.u-net.com