
Gennadiy Rozental wrote:
"John Maddock" <john@johnmaddock.co.uk> wrote in message news:000d01c75277$f5144280$4f4e0352@fuji...
Personally I would have liked these to have been really explicit:
BOOST_CHECK_PERSENTAGE_DIFFERENCE BOOST_CHECK_RELATIVE_DIFFERENCE BOOST_CHECK_EPSILON_DIFFERENCE IMO above names way too wordy. All above tools already exist in boost.Test I appreciate your desire for concise names. However, my gut feeling is
Gennadiy Rozental wrote: that this causes enough confusion that only a really_descriptive_and_totally_obvious_name will do :-)
Ok. How about
BOOST_CHECK_PRC_DIFF BOOST_CHECK_REL_DIFF BOOST_CHECK_EPS_DIFF
How about
BOOST_CHECK_ABS_DIFF
for absolute difference comparison?
Please, no. No cryptic abbreviations like "PRC". You're obviously a lot younger or have a much better functioning brain than me. I'd rather spend the extra time typing something that I can read in plain English.