[test][buffer] Only test symmetric case in release mode

This commit is contained in:
Barend Gehrels 2015-03-04 12:33:03 +01:00
parent 2e9eedd4ea
commit fbd880a0c7

View File

@ -688,7 +688,10 @@ void test_one(std::string const& caseid, std::string const& wkt,
check_self_intersections, expected_area,
tolerance, NULL);
#if !defined(BOOST_GEOMETRY_COMPILER_MODE_DEBUG) && defined(BOOST_GEOMETRY_COMPILER_MODE_RELEASE)
// Also test symmetric distance strategy if right-distance is not specified
// (only in release mode)
if (bg::math::equals(distance_right, -999))
{
bg::strategy::buffer::distance_symmetric
@ -704,6 +707,7 @@ void test_one(std::string const& caseid, std::string const& wkt,
tolerance, NULL);
}
#endif
}
// Version (currently for the Aimes test) counting self-ip's instead of checking