mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-09 11:12:21 +00:00
Added comment for boost trunk where check_is_close is moved
[SVN r66829]
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include <boost/geometry/geometries/geometries.hpp>
|
||||
#include <boost/geometry/geometries/adapted/c_array.hpp>
|
||||
#include <boost/geometry/extensions/gis/latlong/point_ll.hpp>
|
||||
|
||||
#include <test_common/test_point.hpp>
|
||||
|
||||
|
||||
@@ -37,6 +38,8 @@ inline void check(double v, double ve, std::string const& name, std::string cons
|
||||
// Instead of (non-existing) BOOST_CHECK_CLOSE_MESSAGE(v, ve, 0.001, bla bla)
|
||||
|
||||
if (! boost::test_tools::check_is_close(v, ve, boost::test_tools::percent_tolerance(0.001)))
|
||||
// Boost.Trunk:
|
||||
//if (! boost::test_tools::check_is_close(v, ve, boost::math::fpc::percent_tolerance(0.001)))
|
||||
{
|
||||
std::ostringstream out;
|
||||
out << "\n" << name << " " << axis << " -> " << v << " != " << ve;
|
||||
|
||||
Reference in New Issue
Block a user