2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-27 07:22:11 +00:00
Files
test/doc/v2/examples/example41.cpp
Gennadiy Rozental ced5d625dc after review
2014-11-18 00:12:29 -05:00

11 lines
246 B
C++
Executable File

//[example_code
#define BOOST_TEST_MODULE example
#include <boost/test/included/unit_test.hpp>
#include <boost/test/floating_point_comparison.hpp>
BOOST_AUTO_TEST_CASE( test )
{
double v = -1.23456e-3;
BOOST_CHECK_SMALL( v, 0.000001 );
}
//]