mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-11 13:34:10 +00:00
Renamed GGL/Geometry in some testfiles
[SVN r59786]
This commit is contained in:
parent
ef4ab98d72
commit
eeef35e569
@ -10,7 +10,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <boost/concept/requires.hpp>
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/access.hpp>
|
||||
#include <boost/geometry/algorithms/make.hpp>
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <boost/geometry/geometries/linear_ring.hpp>
|
||||
#include <boost/geometry/geometries/polygon.hpp>
|
||||
|
||||
//#define GGL_TEST_DEBUG
|
||||
//#define GEOMETRY_TEST_DEBUG
|
||||
|
||||
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/assign.hpp>
|
||||
#include <boost/geometry/algorithms/num_points.hpp>
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/buffer.hpp>
|
||||
#include <boost/geometry/core/coordinate_type.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/algorithms/assign.hpp>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/correct.hpp>
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/disjoint.hpp>
|
||||
#include <boost/geometry/geometries/geometries.hpp>
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <sstream>
|
||||
|
||||
#include <boost/mpl/if.hpp>
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/algorithms/distance.hpp>
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/correct.hpp>
|
||||
#include <boost/geometry/algorithms/within.hpp>
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/convex_hull.hpp>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/make.hpp>
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
|
||||
@ -155,7 +155,7 @@ void generate()
|
||||
}
|
||||
|
||||
|
||||
#if ! defined(GGL_TEST_MULTI)
|
||||
#if ! defined(GEOMETRY_TEST_MULTI)
|
||||
int test_main(int, char* [])
|
||||
{
|
||||
generate();
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
|
||||
@ -75,14 +75,14 @@ void test_geometry(std::string const& id, int expected_count, double expected_ar
|
||||
|
||||
std::string caseid = id;
|
||||
|
||||
//#ifdef GGL_DEBUG_INTERSECTION
|
||||
//#ifdef GEOMETRY_DEBUG_INTERSECTION
|
||||
std::cout << std::endl << std::endl << "# " << caseid << std::endl;
|
||||
//#endif
|
||||
test_dissolve(caseid, expected_count, expected_area, geometry, precision);
|
||||
}
|
||||
|
||||
|
||||
#if ! defined(GGL_TEST_MULTI)
|
||||
#if ! defined(GEOMETRY_TEST_MULTI)
|
||||
|
||||
template <typename P>
|
||||
void test_all()
|
||||
@ -172,7 +172,7 @@ void test_all()
|
||||
|
||||
|
||||
|
||||
#if ! defined(GGL_TEST_MULTI)
|
||||
#if ! defined(GEOMETRY_TEST_MULTI)
|
||||
int test_main(int, char* [])
|
||||
{
|
||||
test_all<boost::geometry::point_xy<double> >();
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/intersection.hpp>
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
|
||||
#define GGL_TEST_OVERLAY_NOT_REVERSED
|
||||
#define GEOMETRY_TEST_OVERLAY_NOT_REVERSED
|
||||
|
||||
#include <overlay_common.hpp>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#define BOOST_GEOMETRY_DEBUG_SEGMENT_IDENTIFIER
|
||||
|
||||
@ -138,7 +138,7 @@ struct test_get_turns
|
||||
};
|
||||
|
||||
|
||||
#if ! defined(GGL_TEST_MULTI)
|
||||
#if ! defined(GEOMETRY_TEST_MULTI)
|
||||
template <typename T>
|
||||
void test_all()
|
||||
{
|
||||
|
@ -319,4 +319,4 @@ static std::string isovist[2] =
|
||||
};
|
||||
*/
|
||||
|
||||
#endif // GGL_TEST_OVERLAY_CASES_HPP
|
||||
#endif // GEOMETRY_TEST_OVERLAY_CASES_HPP
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include <boost/geometry/geometry.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/io/svg/svg_mapper.hpp>
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
#include <test_overlay_p_q.hpp>
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <boost/geometry/extensions/gis/io/wkt/wkt.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/io/svg/svg_mapper.hpp>
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
#include <test_overlay_p_q.hpp>
|
||||
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include <boost/geometry/extensions/gis/io/wkt/wkt.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/io/svg/svg_mapper.hpp>
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
#include <test_overlay_p_q.hpp>
|
||||
|
||||
template <typename Polygon, typename Generator>
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <boost/geometry/geometry.hpp>
|
||||
#include <boost/geometry/extensions/gis/io/wkt/wkt.hpp>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
template <typename OutputType, typename CalculationType, typename G1, typename G2>
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <iomanip>
|
||||
#include <string>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/algorithms/intersection.hpp>
|
||||
@ -118,14 +118,14 @@ void test_self_overlay(std::string const& id, T const& expected,
|
||||
|
||||
std::string caseid = id;
|
||||
|
||||
//#ifdef GGL_DEBUG_INTERSECTION
|
||||
//#ifdef GEOMETRY_DEBUG_INTERSECTION
|
||||
std::cout << std::endl << std::endl << "# " << caseid << std::endl;
|
||||
//#endif
|
||||
test_self_intersection_points::apply(caseid, expected, geometry, precision);
|
||||
}
|
||||
|
||||
|
||||
#if ! defined(GGL_TEST_MULTI)
|
||||
#if ! defined(GEOMETRY_TEST_MULTI)
|
||||
|
||||
template <typename P>
|
||||
void test_self_all()
|
||||
@ -225,7 +225,7 @@ void test_self_all()
|
||||
|
||||
|
||||
|
||||
#if ! defined(GGL_TEST_MULTI)
|
||||
#if ! defined(GEOMETRY_TEST_MULTI)
|
||||
int test_main(int, char* [])
|
||||
{
|
||||
test_self_all<boost::geometry::point_xy<double> >();
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
//#define HAVE_TTMATH
|
||||
#ifdef HAVE_TTMATH
|
||||
|
@ -11,7 +11,7 @@
|
||||
#pragma warning( disable : 4267 )
|
||||
#endif
|
||||
|
||||
//#define GGL_DEBUG_INTERSECTION
|
||||
//#define GEOMETRY_DEBUG_INTERSECTION
|
||||
|
||||
|
||||
#include <iostream>
|
||||
@ -159,7 +159,7 @@ void test_one(std::string const& caseid, std::string const& wkt1, std::string co
|
||||
}
|
||||
|
||||
|
||||
#if ! defined(GGL_TEST_MULTI)
|
||||
#if ! defined(GEOMETRY_TEST_MULTI)
|
||||
|
||||
template <typename P>
|
||||
void test_traverse_gmp(std::string const& caseid)
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/make.hpp>
|
||||
#include <boost/geometry/algorithms/sectionalize.hpp>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define BOOST_GEOMETRY_TEST_AREA_HPP
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/area.hpp>
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
@ -22,7 +22,7 @@ void test_area(Geometry const& geometry, long double expected_area)
|
||||
{
|
||||
long double area = boost::geometry::area(geometry);
|
||||
|
||||
#ifdef GGL_TEST_DEBUG
|
||||
#ifdef GEOMETRY_TEST_DEBUG
|
||||
std::ostringstream out;
|
||||
out << typeid(typename boost::geometry::coordinate_type<Geometry>::type).name()
|
||||
<< " "
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// Test-functionality, shared between single and multi tests
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
#include <boost/geometry/algorithms/centroid.hpp>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define BOOST_GEOMETRY_TEST_COMBINE_HPP
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/combine.hpp>
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
|
@ -8,7 +8,7 @@
|
||||
#ifndef BOOST_GEOMETRY_TEST_CONVEX_HULL_HPP
|
||||
#define BOOST_GEOMETRY_TEST_CONVEX_HULL_HPP
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/convex_hull.hpp>
|
||||
#include <boost/geometry/algorithms/area.hpp>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define BOOST_GEOMETRY_TEST_ENVELOPE_HPP
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/envelope.hpp>
|
||||
#include <boost/geometry/geometries/box.hpp>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define BOOST_GEOMETRY_TEST_EQUALS_HPP
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/ring_type.hpp>
|
||||
#include <boost/geometry/algorithms/equals.hpp>
|
||||
|
@ -8,7 +8,7 @@
|
||||
#ifndef BOOST_GEOMETRY_TEST_FOR_EACH_HPP
|
||||
#define BOOST_GEOMETRY_TEST_FOR_EACH_HPP
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/for_each.hpp>
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include <iomanip>
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/intersection.hpp>
|
||||
#include <boost/geometry/algorithms/area.hpp>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define BOOST_GEOMETRY_TEST_INTERSECTS_HPP
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/ring_type.hpp>
|
||||
#include <boost/geometry/algorithms/intersects.hpp>
|
||||
|
@ -8,7 +8,7 @@
|
||||
#ifndef BOOST_GEOMETRY_TEST_LENGTH_HPP
|
||||
#define BOOST_GEOMETRY_TEST_LENGTH_HPP
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/length.hpp>
|
||||
#include <boost/geometry/extensions/gis/io/wkt/read_wkt.hpp>
|
||||
@ -20,7 +20,7 @@ void test_length(Geometry const& geometry, long double expected_length)
|
||||
{
|
||||
long double length = boost::geometry::length(geometry);
|
||||
|
||||
#ifdef GGL_TEST_DEBUG
|
||||
#ifdef GEOMETRY_TEST_DEBUG
|
||||
std::ostringstream out;
|
||||
out << typeid(typename boost::geometry::coordinate_type<Geometry>::type).name()
|
||||
<< std::endl
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define BOOST_GEOMETRY_TEST_OVERLAPS_HPP
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/ring_type.hpp>
|
||||
#include <boost/geometry/algorithms/overlaps.hpp>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define BOOST_GEOMETRY_TEST_PERIMETER_HPP
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/perimeter.hpp>
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
@ -23,7 +23,7 @@ void test_perimeter(Geometry const& geometry, long double expected_perimeter)
|
||||
{
|
||||
long double perimeter = boost::geometry::perimeter(geometry);
|
||||
|
||||
#ifdef GGL_TEST_DEBUG
|
||||
#ifdef GEOMETRY_TEST_DEBUG
|
||||
std::ostringstream out;
|
||||
out << typeid(typename boost::geometry::coordinate_type<Geometry>::type).name()
|
||||
<< std::endl
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// Test-functionality, shared between single and multi tests
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
#include <boost/geometry/algorithms/simplify.hpp>
|
||||
#include <boost/geometry/algorithms/distance.hpp>
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#include <fstream>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/union.hpp>
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define BOOST_GEOMETRY_TEST_WITHIN_HPP
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/ring_type.hpp>
|
||||
#include <boost/geometry/algorithms/within.hpp>
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <sstream>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/make.hpp>
|
||||
#include <boost/geometry/algorithms/transform.hpp>
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/arithmetic/arithmetic.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/arithmetic/cross_product.hpp>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/arithmetic/dot_product.hpp>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/core/access.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/core/coordinate_dimension.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/core/coordinate_system.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/core/coordinate_type.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/core/geometry_id.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/core/tag.hpp>
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/radian_access.hpp>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/reverse_dispatch.hpp>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
// To be tested:
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/tag.hpp>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/topological_dimension.hpp>
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/algorithms/midpoints.hpp>
|
||||
#include <boost/geometry/algorithms/make.hpp>
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/num_points.hpp>
|
||||
#include <boost/geometry/extensions/algorithms/remove_holes_if.hpp>
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/geometries/geometries.hpp>
|
||||
#include <boost/geometry/extensions/algorithms/selected.hpp>
|
||||
|
@ -38,7 +38,7 @@ void test_all();
|
||||
|
||||
|
||||
// Include the single test
|
||||
#define GGL_TEST_MULTI
|
||||
#define GEOMETRY_TEST_MULTI
|
||||
#include "extensions/gis/io/wkt/wkt.cpp"
|
||||
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/geometries/geometries.hpp>
|
||||
@ -114,7 +114,7 @@ void test_wrong_wkt(std::string const& wkt, std::string const& start)
|
||||
}
|
||||
|
||||
|
||||
#ifndef GGL_TEST_MULTI
|
||||
#ifndef GEOMETRY_TEST_MULTI
|
||||
template <typename T>
|
||||
void test_all()
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/gis/geographic/strategies/andoyer.hpp>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/algorithms/area.hpp>
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/assign.hpp>
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/parse.hpp>
|
||||
#include <boost/geometry/geometries/point.hpp>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/strategies/strategies.hpp>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/transform.hpp>
|
||||
#include <boost/geometry/extensions/gis/io/wkt/stream_wkt.hpp>
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/gis/projections/parameters.hpp>
|
||||
#include <boost/geometry/extensions/gis/projections/projection.hpp>
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/gis/projections/parameters.hpp>
|
||||
#include <boost/geometry/extensions/gis/projections/projection.hpp>
|
||||
|
@ -6,6 +6,9 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
// WARNING: this file takes several minutes to quarters to compile on GCC
|
||||
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning( disable : 4305 ) // truncation double -> float
|
||||
#pragma warning( disable : 4244 ) // loss of data
|
||||
@ -15,7 +18,7 @@
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/gis/projections/parameters.hpp>
|
||||
#include <boost/geometry/extensions/gis/projections/projection.hpp>
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/extensions/nsphere/core/access.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/nsphere/algorithms/area.hpp>
|
||||
#include <boost/geometry/extensions/nsphere/geometries/nsphere.hpp>
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/nsphere/core/access.hpp>
|
||||
#include <boost/geometry/extensions/nsphere/geometries/concepts/nsphere_concept.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/algorithms/correct.hpp>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
|
||||
#include <boost/geometry/core/tag.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/nsphere/nsphere.hpp>
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <deque>
|
||||
#include <vector>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/geometries/geometries.hpp>
|
||||
#include <boost/geometry/multi/multi.hpp>
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/make.hpp>
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <deque>
|
||||
#include <vector>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/append.hpp>
|
||||
#include <boost/geometry/algorithms/clear.hpp>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/geometries/concepts/segment_concept.hpp>
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/iterators/circular_iterator.hpp>
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/iterators/ever_circling_iterator.hpp>
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/core/coordinate_type.hpp>
|
||||
#include <boost/geometry/geometries/cartesian2d.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/correct.hpp>
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/distance.hpp>
|
||||
#include <boost/geometry/extensions/gis/io/wkt/read_wkt.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/for_each.hpp>
|
||||
#include <boost/geometry/multi/algorithms/for_each.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/perimeter.hpp>
|
||||
#include <boost/geometry/multi/algorithms/perimeter.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/simplify.hpp>
|
||||
#include <boost/geometry/multi/algorithms/simplify.hpp>
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/gis/io/wkt/wkt.hpp>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef GGL_TEST_MULTI_OVERLAY_COMMON_HPP
|
||||
#define GGL_TEST_MULTI_OVERLAY_COMMON_HPP
|
||||
#ifndef GEOMETRY_TEST_MULTI_OVERLAY_COMMON_HPP
|
||||
#define GEOMETRY_TEST_MULTI_OVERLAY_COMMON_HPP
|
||||
|
||||
|
||||
// Boost.Geometry (aka GGL, Generic Geometry Library) test file
|
||||
@ -36,4 +36,4 @@ void test_all(std::vector<T> const& expected, double precision = 0.01)
|
||||
}
|
||||
|
||||
|
||||
#endif // GGL_TEST_MULTI_OVERLAY_COMMON_HPP
|
||||
#endif // GEOMETRY_TEST_MULTI_OVERLAY_COMMON_HPP
|
||||
|
@ -7,8 +7,8 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#ifndef GGL_TEST_MULTI_UTIL_SVG_MAPPER_HPP
|
||||
#define GGL_TEST_MULTI_UTIL_SVG_MAPPER_HPP
|
||||
#ifndef GEOMETRY_TEST_MULTI_UTIL_SVG_MAPPER_HPP
|
||||
#define GEOMETRY_TEST_MULTI_UTIL_SVG_MAPPER_HPP
|
||||
|
||||
#include <boost/geometry/multi/algorithms/envelope.hpp>
|
||||
#include <boost/geometry/multi/algorithms/transform.hpp>
|
||||
@ -41,4 +41,4 @@ struct svg_map<boost::geometry::multi_polygon_tag, true, MultiPolygon>
|
||||
|
||||
|
||||
|
||||
#endif // GGL_TEST_MULTI_UTIL_SVG_MAPPER_HPP
|
||||
#endif // GEOMETRY_TEST_MULTI_UTIL_SVG_MAPPER_HPP
|
||||
|
@ -6,8 +6,8 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef GGL_TEST_POINT_CONCEPT_FUNCTION_ASSERTING_A_POINT_HPP
|
||||
#define GGL_TEST_POINT_CONCEPT_FUNCTION_ASSERTING_A_POINT_HPP
|
||||
#ifndef GEOMETRY_TEST_POINT_CONCEPT_FUNCTION_ASSERTING_A_POINT_HPP
|
||||
#define GEOMETRY_TEST_POINT_CONCEPT_FUNCTION_ASSERTING_A_POINT_HPP
|
||||
|
||||
#include <boost/concept/requires.hpp>
|
||||
|
||||
@ -25,4 +25,4 @@ namespace test
|
||||
}
|
||||
}
|
||||
|
||||
#endif // GGL_TEST_POINT_CONCEPT_FUNCTION_ASSERTING_A_POINT_HPP
|
||||
#endif // GEOMETRY_TEST_POINT_CONCEPT_FUNCTION_ASSERTING_A_POINT_HPP
|
||||
|
@ -6,8 +6,8 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef GGL_TEST_POINT_CONCEPT_FUNCTION_REQUIRING_A_POINT_HPP
|
||||
#define GGL_TEST_POINT_CONCEPT_FUNCTION_REQUIRING_A_POINT_HPP
|
||||
#ifndef GEOMETRY_TEST_POINT_CONCEPT_FUNCTION_REQUIRING_A_POINT_HPP
|
||||
#define GEOMETRY_TEST_POINT_CONCEPT_FUNCTION_REQUIRING_A_POINT_HPP
|
||||
|
||||
#include <boost/concept/requires.hpp>
|
||||
|
||||
@ -27,4 +27,4 @@ namespace test
|
||||
}
|
||||
}
|
||||
|
||||
#endif // GGL_TEST_POINT_CONCEPT_FUNCTION_REQUIRING_A_POINT_HPP
|
||||
#endif // GEOMETRY_TEST_POINT_CONCEPT_FUNCTION_REQUIRING_A_POINT_HPP
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/assign.hpp>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/concept/requires.hpp>
|
||||
#include <boost/concept_check.hpp>
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/strategies/cartesian/distance_projected_point.hpp>
|
||||
#include <boost/geometry/strategies/concepts/distance_concept.hpp>
|
||||
|
@ -7,7 +7,7 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/assign.hpp>
|
||||
#include <boost/geometry/strategies/cartesian/distance_pythagoras.hpp>
|
||||
|
@ -15,7 +15,7 @@
|
||||
#define HAVE_MATRIX_AS_STRING
|
||||
|
||||
|
||||
#include <ggl_test_common.hpp>
|
||||
#include <geometry_test_common.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/assign.hpp>
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user