Can anyone describe the difference in behavior between BOOST_CHECK_CLOSE
and BOOST_CHECK_CLOSE_FRACTION
? The documentation implies the that both m
According to this discussion, one (BOOST_CHECK_CLOSE
) treats the third parameter as expressing a percent, while the other (BOOST_CHECK_CLOSE_FRACTION
) treats it as expressing a fraction. So, .01 in the first should be equivalent to .0001 in the second.
Not certain if that explains your problem -- do you get the same odd result with BOOST_CHECK_CLOSE
? I wouldn't be shocked if the 0 caused an issue -- but I don't have first hand experience with the macros.