mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-09 23:24:02 +00:00
[index][test] prefix GEOMETRY_TEST_DEBUG macro with BOOST_
This commit is contained in:
parent
1f56d9c04b
commit
2c9221b397
@ -13,7 +13,7 @@
|
||||
#include <boost/geometry/geometries/point.hpp>
|
||||
#include <boost/geometry/geometries/box.hpp>
|
||||
|
||||
//#define GEOMETRY_TEST_DEBUG
|
||||
//#define BOOST_GEOMETRY_TEST_DEBUG
|
||||
|
||||
void test_large_integers()
|
||||
{
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <boost/geometry/geometries/point.hpp>
|
||||
#include <boost/geometry/geometries/box.hpp>
|
||||
|
||||
//#define GEOMETRY_TEST_DEBUG
|
||||
//#define BOOST_GEOMETRY_TEST_DEBUG
|
||||
|
||||
void test_large_integers()
|
||||
{
|
||||
|
@ -17,14 +17,14 @@
|
||||
#include <boost/geometry/geometries/point.hpp>
|
||||
#include <boost/geometry/geometries/box.hpp>
|
||||
|
||||
//#define GEOMETRY_TEST_DEBUG
|
||||
//#define BOOST_GEOMETRY_TEST_DEBUG
|
||||
|
||||
template <typename Geometry>
|
||||
void test(Geometry const& geometry, bool expected_value)
|
||||
{
|
||||
bool value = bgi::detail::is_valid(geometry);
|
||||
|
||||
#ifdef GEOMETRY_TEST_DEBUG
|
||||
#ifdef BOOST_GEOMETRY_TEST_DEBUG
|
||||
std::ostringstream out;
|
||||
out << typeid(typename bg::coordinate_type<Geometry>::type).name()
|
||||
<< " "
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <boost/geometry/geometries/point.hpp>
|
||||
#include <boost/geometry/geometries/box.hpp>
|
||||
|
||||
//#define GEOMETRY_TEST_DEBUG
|
||||
//#define BOOST_GEOMETRY_TEST_DEBUG
|
||||
|
||||
void test_large_integers()
|
||||
{
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include <boost/geometry/geometries/point.hpp>
|
||||
#include <boost/geometry/geometries/box.hpp>
|
||||
|
||||
#define GEOMETRY_TEST_DEBUG
|
||||
#define BOOST_GEOMETRY_TEST_DEBUG
|
||||
|
||||
template <typename Point, typename Indexable>
|
||||
void test(Point const& pt, Indexable const& indexable,
|
||||
@ -25,7 +25,7 @@ void test(Point const& pt, Indexable const& indexable,
|
||||
{
|
||||
typename bg::default_distance_result<Point, Indexable>::type value = bgi::detail::minmaxdist(pt, indexable);
|
||||
|
||||
#ifdef GEOMETRY_TEST_DEBUG
|
||||
#ifdef BOOST_GEOMETRY_TEST_DEBUG
|
||||
std::ostringstream out;
|
||||
out << typeid(typename bg::coordinate_type<Point>::type).name()
|
||||
<< " "
|
||||
|
@ -23,7 +23,7 @@ void test_content(Geometry const& geometry,
|
||||
{
|
||||
typename bgi::detail::default_content_result<Geometry>::type value = bgi::detail::content(geometry);
|
||||
|
||||
#ifdef GEOMETRY_TEST_DEBUG
|
||||
#ifdef BOOST_GEOMETRY_TEST_DEBUG
|
||||
std::ostringstream out;
|
||||
out << typeid(typename bg::coordinate_type<Geometry>::type).name()
|
||||
<< " "
|
||||
|
@ -20,7 +20,7 @@ void test_intersection_content(Geometry const& geometry1, Geometry const& geomet
|
||||
{
|
||||
typename bgi::detail::default_content_result<Geometry>::type value = bgi::detail::intersection_content(geometry1, geometry2);
|
||||
|
||||
#ifdef GEOMETRY_TEST_DEBUG
|
||||
#ifdef BOOST_GEOMETRY_TEST_DEBUG
|
||||
std::ostringstream out;
|
||||
out << typeid(typename bg::coordinate_type<Geometry>::type).name()
|
||||
<< " "
|
||||
|
@ -22,7 +22,7 @@ void test_margin(Geometry const& geometry,
|
||||
{
|
||||
typename bgi::detail::default_margin_result<Geometry>::type value = bgi::detail::comparable_margin(geometry);
|
||||
|
||||
#ifdef GEOMETRY_TEST_DEBUG
|
||||
#ifdef BOOST_GEOMETRY_TEST_DEBUG
|
||||
std::ostringstream out;
|
||||
out << typeid(typename bg::coordinate_type<Geometry>::type).name()
|
||||
<< " "
|
||||
|
@ -20,7 +20,7 @@ void test_union_content(Geometry const& geometry1, Geometry const& geometry2,
|
||||
{
|
||||
typename bgi::detail::default_content_result<Geometry>::type value = bgi::detail::union_content(geometry1, geometry2);
|
||||
|
||||
#ifdef GEOMETRY_TEST_DEBUG
|
||||
#ifdef BOOST_GEOMETRY_TEST_DEBUG
|
||||
std::ostringstream out;
|
||||
out << typeid(typename bg::coordinate_type<Geometry>::type).name()
|
||||
<< " "
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <boost/geometry/geometries/point.hpp>
|
||||
#include <boost/geometry/geometries/box.hpp>
|
||||
|
||||
//#define GEOMETRY_TEST_DEBUG
|
||||
//#define BOOST_GEOMETRY_TEST_DEBUG
|
||||
|
||||
void test_large_integers()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user