2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-27 19:32:11 +00:00
Files
test/doc/v2/examples/example41.cpp
Raffi Enficiaud 62b3a9a660 finishing the porting of the testing tools
now testing
2014-01-29 00:04:54 +01:00

11 lines
243 B
C++
Executable File

//[example41
#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 );
}
//]