Boost logo

Boost :

From: Paul A Bristow (pbristow_at_[hidden])
Date: 2006-11-10 04:29:21


 

| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]] On Behalf Of Gennadiy Rozental
| Sent: 09 November 2006 20:38
| To: boost_at_[hidden]
| Subject: Re: [boost] Boost.Test feature request
|
| "Paul A Bristow" <pbristow_at_[hidden]> wrote in message
| news:E1Gi70F-0007ak-LX_at_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_at_[hidden]
 

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk