![]() |
Home | Libraries | People | FAQ | More |
BOOST_
level
_SMALL(
value
,
tolerance
)
checks that the
value
is within tolerance
of zero.
BOOST_AUTO_TEST_CASE(example_small) { float const f = 0.1f; BOOST_REQUIRE_SMALL(f, 0.25f); }