Re: [Boost-users] unit test BOOST_CHECK_CLOSE absolute

22 Jan
2015
22 Jan
'15
9:27 a.m.
Gennadiy Rozental <rogeeff <at> gmail.com> writes:
Paul A. Bristow <pbristow <at> hetp.u-net.com> writes:
FWIW I've also wanted the *values* in a message (rather than just a test fail).
I do not follow this comment. Which message and which tool do you refer to?
Perhaps he meant that he'd like the error message when a BOOST_CHECK_CLOSE fails to show the value that was rejected, and also the range of values that would have been accepted? Dave

23 Jan
23 Jan
11:47 p.m.
New subject: [Boost-users] unit test BOOST_CHECK_CLOSE absolute
Dave Gomboc <dave_gomboc <at> acm.org> writes:
Perhaps he meant that he'd like the error message when a BOOST_CHECK_CLOSE fails to show the value that was rejected, and also the range of values that would have been accepted?
I believe BOOST_CHECK_CLOSE already reports it in a message. Genandiy
3799
Age (days ago)
3801
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dave Gomboc
-
Gennadiy Rozental