[index][test] prefix GEOMETRY_TEST_DEBUG macro with BOOST_

This commit is contained in:
Menelaos Karavelas 2014-06-19 12:36:21 +03:00
parent 1f56d9c04b
commit 2c9221b397
10 changed files with 12 additions and 12 deletions

View File

@ -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()
{

View File

@ -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()
{

View File

@ -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()
<< " "

View File

@ -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()
{

View File

@ -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()
<< " "

View File

@ -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()
<< " "

View File

@ -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()
<< " "

View File

@ -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()
<< " "

View File

@ -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()
<< " "

View File

@ -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()
{