From aaa96982cfa3b64d34d9add323556c0857ca839d Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 30 Oct 2014 00:32:02 +0100 Subject: [PATCH 01/10] [test] Move distance() tests to separate directory. --- test/algorithms/Jamfile.v2 | 19 +++++-------- test/algorithms/distance/Jamfile.v2 | 27 +++++++++++++++++++ test/algorithms/{ => distance}/distance.cpp | 2 +- .../{ => distance}/distance_all.cpp | 0 .../{ => distance}/distance_areal_areal.cpp | 0 .../{ => distance}/distance_linear_areal.cpp | 0 .../{ => distance}/distance_linear_linear.cpp | 0 .../distance_pointlike_areal.cpp | 0 .../distance_pointlike_linear.cpp | 0 .../distance_pointlike_pointlike.cpp | 0 .../{ => distance}/distance_se_pl_pl.cpp | 0 .../{ => distance}/test_distance.hpp | 0 .../{ => distance}/test_distance_common.hpp | 2 +- .../test_distance_se_common.hpp | 2 +- 14 files changed, 37 insertions(+), 15 deletions(-) create mode 100644 test/algorithms/distance/Jamfile.v2 rename test/algorithms/{ => distance}/distance.cpp (99%) rename test/algorithms/{ => distance}/distance_all.cpp (100%) rename test/algorithms/{ => distance}/distance_areal_areal.cpp (100%) rename test/algorithms/{ => distance}/distance_linear_areal.cpp (100%) rename test/algorithms/{ => distance}/distance_linear_linear.cpp (100%) rename test/algorithms/{ => distance}/distance_pointlike_areal.cpp (100%) rename test/algorithms/{ => distance}/distance_pointlike_linear.cpp (100%) rename test/algorithms/{ => distance}/distance_pointlike_pointlike.cpp (100%) rename test/algorithms/{ => distance}/distance_se_pl_pl.cpp (100%) rename test/algorithms/{ => distance}/test_distance.hpp (100%) rename test/algorithms/{ => distance}/test_distance_common.hpp (99%) rename test/algorithms/{ => distance}/test_distance_se_common.hpp (99%) diff --git a/test/algorithms/Jamfile.v2 b/test/algorithms/Jamfile.v2 index 45209b5ad..291b747b9 100644 --- a/test/algorithms/Jamfile.v2 +++ b/test/algorithms/Jamfile.v2 @@ -8,6 +8,7 @@ # Modifications copyright (c) 2014, Oracle and/or its affiliates. # # Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle +# Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle # # Use, modification and distribution is subject to the Boost Software License, # Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at @@ -31,14 +32,6 @@ test-suite boost-geometry-algorithms [ run difference_pl_pl.cpp ] [ run disjoint.cpp : : : msvc:/bigobj ] [ run disjoint_coverage.cpp : : : msvc:/bigobj ] - [ run distance.cpp : : : msvc:/bigobj ] - [ run distance_areal_areal.cpp : : : msvc:/bigobj ] - [ run distance_linear_areal.cpp : : : msvc:/bigobj ] - [ run distance_linear_linear.cpp ] - [ run distance_pointlike_areal.cpp ] - [ run distance_pointlike_linear.cpp ] - [ run distance_pointlike_pointlike.cpp ] - [ run distance_se_pl_pl.cpp ] [ run envelope.cpp : : : msvc:/bigobj ] [ run equals.cpp : : : msvc:/bigobj ] [ run expand.cpp ] @@ -79,12 +72,14 @@ test-suite boost-geometry-algorithms [ run within_pointlike_xxx.cpp : : : msvc:/bigobj ] ; -build-project overlay - ; - build-project buffer ; -build-project detail +build-project detail ; +build-project distance + ; + +build-project overlay + ; diff --git a/test/algorithms/distance/Jamfile.v2 b/test/algorithms/distance/Jamfile.v2 new file mode 100644 index 000000000..8d755c94a --- /dev/null +++ b/test/algorithms/distance/Jamfile.v2 @@ -0,0 +1,27 @@ +# Boost.Geometry (aka GGL, Generic Geometry Library) +# +# Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands. +# Copyright (c) 2008-2014 Bruno Lalande, Paris, France. +# Copyright (c) 2009-2014 Mateusz Loskot, London, UK. +# +# This file was modified by Oracle on 2014. +# Modifications copyright (c) 2014, Oracle and/or its affiliates. +# +# Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle +# Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle +# +# Use, modification and distribution is subject to the Boost Software License, +# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +test-suite boost-geometry-algorithms-distance + : + [ run distance.cpp : : : msvc:/bigobj ] + [ run distance_areal_areal.cpp : : : msvc:/bigobj ] + [ run distance_linear_areal.cpp : : : msvc:/bigobj ] + [ run distance_linear_linear.cpp ] + [ run distance_pointlike_areal.cpp ] + [ run distance_pointlike_linear.cpp ] + [ run distance_pointlike_pointlike.cpp ] + [ run distance_se_pl_pl.cpp ] + ; diff --git a/test/algorithms/distance.cpp b/test/algorithms/distance/distance.cpp similarity index 99% rename from test/algorithms/distance.cpp rename to test/algorithms/distance/distance.cpp index 8f2dfd03c..84e066808 100644 --- a/test/algorithms/distance.cpp +++ b/test/algorithms/distance/distance.cpp @@ -16,7 +16,7 @@ #include #include -#include +#include "test_distance.hpp" #include #include diff --git a/test/algorithms/distance_all.cpp b/test/algorithms/distance/distance_all.cpp similarity index 100% rename from test/algorithms/distance_all.cpp rename to test/algorithms/distance/distance_all.cpp diff --git a/test/algorithms/distance_areal_areal.cpp b/test/algorithms/distance/distance_areal_areal.cpp similarity index 100% rename from test/algorithms/distance_areal_areal.cpp rename to test/algorithms/distance/distance_areal_areal.cpp diff --git a/test/algorithms/distance_linear_areal.cpp b/test/algorithms/distance/distance_linear_areal.cpp similarity index 100% rename from test/algorithms/distance_linear_areal.cpp rename to test/algorithms/distance/distance_linear_areal.cpp diff --git a/test/algorithms/distance_linear_linear.cpp b/test/algorithms/distance/distance_linear_linear.cpp similarity index 100% rename from test/algorithms/distance_linear_linear.cpp rename to test/algorithms/distance/distance_linear_linear.cpp diff --git a/test/algorithms/distance_pointlike_areal.cpp b/test/algorithms/distance/distance_pointlike_areal.cpp similarity index 100% rename from test/algorithms/distance_pointlike_areal.cpp rename to test/algorithms/distance/distance_pointlike_areal.cpp diff --git a/test/algorithms/distance_pointlike_linear.cpp b/test/algorithms/distance/distance_pointlike_linear.cpp similarity index 100% rename from test/algorithms/distance_pointlike_linear.cpp rename to test/algorithms/distance/distance_pointlike_linear.cpp diff --git a/test/algorithms/distance_pointlike_pointlike.cpp b/test/algorithms/distance/distance_pointlike_pointlike.cpp similarity index 100% rename from test/algorithms/distance_pointlike_pointlike.cpp rename to test/algorithms/distance/distance_pointlike_pointlike.cpp diff --git a/test/algorithms/distance_se_pl_pl.cpp b/test/algorithms/distance/distance_se_pl_pl.cpp similarity index 100% rename from test/algorithms/distance_se_pl_pl.cpp rename to test/algorithms/distance/distance_se_pl_pl.cpp diff --git a/test/algorithms/test_distance.hpp b/test/algorithms/distance/test_distance.hpp similarity index 100% rename from test/algorithms/test_distance.hpp rename to test/algorithms/distance/test_distance.hpp diff --git a/test/algorithms/test_distance_common.hpp b/test/algorithms/distance/test_distance_common.hpp similarity index 99% rename from test/algorithms/test_distance_common.hpp rename to test/algorithms/distance/test_distance_common.hpp index 31159e08b..abd38f552 100644 --- a/test/algorithms/test_distance_common.hpp +++ b/test/algorithms/distance/test_distance_common.hpp @@ -39,7 +39,7 @@ #include #include -#include "from_wkt.hpp" +#include "../from_wkt.hpp" #include diff --git a/test/algorithms/test_distance_se_common.hpp b/test/algorithms/distance/test_distance_se_common.hpp similarity index 99% rename from test/algorithms/test_distance_se_common.hpp rename to test/algorithms/distance/test_distance_se_common.hpp index be6ffbc17..4a18b2846 100644 --- a/test/algorithms/test_distance_se_common.hpp +++ b/test/algorithms/distance/test_distance_se_common.hpp @@ -39,7 +39,7 @@ #include #include -#include "from_wkt.hpp" +#include "../from_wkt.hpp" #include From 7e1e794dd029e301de198c12373471069e537d9a Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 30 Oct 2014 00:52:10 +0100 Subject: [PATCH 02/10] [test] Move from_wkt to main test directory and tweak #includes. --- test/algorithms/disjoint_coverage.cpp | 2 +- test/algorithms/distance/test_distance_common.hpp | 3 +-- test/algorithms/distance/test_distance_se_common.hpp | 3 +-- test/algorithms/is_simple.cpp | 2 +- test/algorithms/is_valid.cpp | 2 +- test/algorithms/overlay/get_turns_linear_areal.cpp | 2 +- test/algorithms/test_difference_linear_linear.hpp | 4 ++-- test/algorithms/test_intersection_linear_linear.hpp | 4 ++-- test/algorithms/test_set_ops_pl_pl.hpp | 4 ++-- test/algorithms/test_sym_difference_linear_linear.hpp | 4 ++-- test/algorithms/test_union_linear_linear.hpp | 4 ++-- test/{algorithms => }/from_wkt.hpp | 0 12 files changed, 16 insertions(+), 18 deletions(-) rename test/{algorithms => }/from_wkt.hpp (100%) diff --git a/test/algorithms/disjoint_coverage.cpp b/test/algorithms/disjoint_coverage.cpp index 184e6988f..7a19c0455 100644 --- a/test/algorithms/disjoint_coverage.cpp +++ b/test/algorithms/disjoint_coverage.cpp @@ -41,7 +41,7 @@ #include -#include "from_wkt.hpp" +#include #ifdef HAVE_TTMATH diff --git a/test/algorithms/distance/test_distance_common.hpp b/test/algorithms/distance/test_distance_common.hpp index abd38f552..62e87e368 100644 --- a/test/algorithms/distance/test_distance_common.hpp +++ b/test/algorithms/distance/test_distance_common.hpp @@ -39,8 +39,7 @@ #include #include -#include "../from_wkt.hpp" - +#include #include diff --git a/test/algorithms/distance/test_distance_se_common.hpp b/test/algorithms/distance/test_distance_se_common.hpp index 4a18b2846..8294ea934 100644 --- a/test/algorithms/distance/test_distance_se_common.hpp +++ b/test/algorithms/distance/test_distance_se_common.hpp @@ -39,8 +39,7 @@ #include #include -#include "../from_wkt.hpp" - +#include #include diff --git a/test/algorithms/is_simple.cpp b/test/algorithms/is_simple.cpp index 63fac7bfa..34ec07e54 100644 --- a/test/algorithms/is_simple.cpp +++ b/test/algorithms/is_simple.cpp @@ -36,7 +36,7 @@ #include #include -#include "from_wkt.hpp" +#include #ifdef BOOST_GEOMETRY_TEST_DEBUG #include "pretty_print_geometry.hpp" diff --git a/test/algorithms/is_valid.cpp b/test/algorithms/is_valid.cpp index 46c2c6772..78c290556 100644 --- a/test/algorithms/is_valid.cpp +++ b/test/algorithms/is_valid.cpp @@ -16,7 +16,7 @@ #include -#include "from_wkt.hpp" +#include #include "test_is_valid.hpp" diff --git a/test/algorithms/overlay/get_turns_linear_areal.cpp b/test/algorithms/overlay/get_turns_linear_areal.cpp index 202eb28ed..b270edeb6 100644 --- a/test/algorithms/overlay/get_turns_linear_areal.cpp +++ b/test/algorithms/overlay/get_turns_linear_areal.cpp @@ -21,7 +21,7 @@ #include //TEST -//#include "to_svg.hpp" +//#include template void test_all() diff --git a/test/algorithms/test_difference_linear_linear.hpp b/test/algorithms/test_difference_linear_linear.hpp index cf86124a3..e062b8202 100644 --- a/test/algorithms/test_difference_linear_linear.hpp +++ b/test/algorithms/test_difference_linear_linear.hpp @@ -10,10 +10,10 @@ #ifndef BOOST_GEOMETRY_TEST_DIFFERENCE_LINEAR_LINEAR_HPP #define BOOST_GEOMETRY_TEST_DIFFERENCE_LINEAR_LINEAR_HPP -#include "from_wkt.hpp" #include #include "test_set_ops_linear_linear.hpp" -#include "to_svg.hpp" +#include +#include //================================================================== diff --git a/test/algorithms/test_intersection_linear_linear.hpp b/test/algorithms/test_intersection_linear_linear.hpp index b02aaa35e..7b1c2d54f 100644 --- a/test/algorithms/test_intersection_linear_linear.hpp +++ b/test/algorithms/test_intersection_linear_linear.hpp @@ -10,11 +10,11 @@ #ifndef BOOST_GEOMETRY_TEST_INTERSECTION_LINEAR_LINEAR_HPP #define BOOST_GEOMETRY_TEST_INTERSECTION_LINEAR_LINEAR_HPP -#include "from_wkt.hpp" #include #include #include "test_set_ops_linear_linear.hpp" -#include "to_svg.hpp" +#include +#include //================================================================== diff --git a/test/algorithms/test_set_ops_pl_pl.hpp b/test/algorithms/test_set_ops_pl_pl.hpp index 63f363e52..fd825d003 100644 --- a/test/algorithms/test_set_ops_pl_pl.hpp +++ b/test/algorithms/test_set_ops_pl_pl.hpp @@ -15,8 +15,8 @@ namespace bg = ::boost::geometry; -#include "from_wkt.hpp" -#include "to_svg.hpp" +#include +#include #include #include diff --git a/test/algorithms/test_sym_difference_linear_linear.hpp b/test/algorithms/test_sym_difference_linear_linear.hpp index 001c82bd8..03b6756fd 100644 --- a/test/algorithms/test_sym_difference_linear_linear.hpp +++ b/test/algorithms/test_sym_difference_linear_linear.hpp @@ -10,10 +10,10 @@ #ifndef BOOST_GEOMETRY_TEST_SYM_DIFFERENCE_LINEAR_LINEAR_HPP #define BOOST_GEOMETRY_TEST_SYM_DIFFERENCE_LINEAR_LINEAR_HPP -#include "from_wkt.hpp" #include #include "test_set_ops_linear_linear.hpp" -#include "to_svg.hpp" +#include +#include //================================================================== diff --git a/test/algorithms/test_union_linear_linear.hpp b/test/algorithms/test_union_linear_linear.hpp index c106a51c8..42b644c54 100644 --- a/test/algorithms/test_union_linear_linear.hpp +++ b/test/algorithms/test_union_linear_linear.hpp @@ -10,10 +10,10 @@ #ifndef BOOST_GEOMETRY_TEST_UNION_LINEAR_LINEAR_HPP #define BOOST_GEOMETRY_TEST_UNION_LINEAR_LINEAR_HPP -#include "from_wkt.hpp" #include #include "test_set_ops_linear_linear.hpp" -#include "to_svg.hpp" +#include +#include //================================================================== diff --git a/test/algorithms/from_wkt.hpp b/test/from_wkt.hpp similarity index 100% rename from test/algorithms/from_wkt.hpp rename to test/from_wkt.hpp From 7fc973ce66a86cdb5091ff2a51098b14c1819a3e Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 30 Oct 2014 01:31:12 +0100 Subject: [PATCH 03/10] [test] Move set ops algorithms tests to separate directories. --- test/algorithms/Jamfile.v2 | 29 +++++-------------- test/algorithms/difference/Jamfile.v2 | 22 ++++++++++++++ .../{ => difference}/difference.cpp | 2 +- .../difference_linear_linear.cpp | 0 .../{ => difference}/difference_pl_pl.cpp | 2 +- .../{ => difference}/test_difference.hpp | 0 .../test_difference_linear_linear.hpp | 2 +- test/algorithms/intersection/Jamfile.v2 | 22 ++++++++++++++ .../{ => intersection}/intersection.cpp | 2 +- .../intersection_linear_linear.cpp | 0 .../{ => intersection}/intersection_pl_pl.cpp | 2 +- .../intersection_segment.cpp | 0 .../{ => intersection}/test_intersection.hpp | 0 .../test_intersection_linear_linear.hpp | 2 +- test/algorithms/{ => set_ops}/set_ops_ll.cpp | 0 test/algorithms/{ => set_ops}/set_ops_pp.cpp | 0 .../test_get_turns_ll_invariance.hpp | 0 .../test_set_ops_linear_linear.hpp | 0 .../{ => set_ops}/test_set_ops_pl_pl.hpp | 0 test/algorithms/sym_difference/Jamfile.v2 | 20 +++++++++++++ .../sym_difference_linear_linear.cpp | 0 .../test_sym_difference_linear_linear.hpp | 2 +- test/algorithms/union/Jamfile.v2 | 22 ++++++++++++++ test/algorithms/{ => union}/test_union.hpp | 0 .../{ => union}/test_union_linear_linear.hpp | 2 +- test/algorithms/{ => union}/union.cpp | 2 +- .../{ => union}/union_linear_linear.cpp | 0 test/algorithms/{ => union}/union_pl_pl.cpp | 2 +- 28 files changed, 104 insertions(+), 31 deletions(-) create mode 100644 test/algorithms/difference/Jamfile.v2 rename test/algorithms/{ => difference}/difference.cpp (99%) rename test/algorithms/{ => difference}/difference_linear_linear.cpp (100%) rename test/algorithms/{ => difference}/difference_pl_pl.cpp (99%) rename test/algorithms/{ => difference}/test_difference.hpp (100%) rename test/algorithms/{ => difference}/test_difference_linear_linear.hpp (98%) create mode 100644 test/algorithms/intersection/Jamfile.v2 rename test/algorithms/{ => intersection}/intersection.cpp (99%) rename test/algorithms/{ => intersection}/intersection_linear_linear.cpp (100%) rename test/algorithms/{ => intersection}/intersection_pl_pl.cpp (99%) rename test/algorithms/{ => intersection}/intersection_segment.cpp (100%) rename test/algorithms/{ => intersection}/test_intersection.hpp (100%) rename test/algorithms/{ => intersection}/test_intersection_linear_linear.hpp (99%) rename test/algorithms/{ => set_ops}/set_ops_ll.cpp (100%) rename test/algorithms/{ => set_ops}/set_ops_pp.cpp (100%) rename test/algorithms/{ => set_ops}/test_get_turns_ll_invariance.hpp (100%) rename test/algorithms/{ => set_ops}/test_set_ops_linear_linear.hpp (100%) rename test/algorithms/{ => set_ops}/test_set_ops_pl_pl.hpp (100%) create mode 100644 test/algorithms/sym_difference/Jamfile.v2 rename test/algorithms/{ => sym_difference}/sym_difference_linear_linear.cpp (100%) rename test/algorithms/{ => sym_difference}/test_sym_difference_linear_linear.hpp (99%) create mode 100644 test/algorithms/union/Jamfile.v2 rename test/algorithms/{ => union}/test_union.hpp (100%) rename test/algorithms/{ => union}/test_union_linear_linear.hpp (99%) rename test/algorithms/{ => union}/union.cpp (99%) rename test/algorithms/{ => union}/union_linear_linear.cpp (100%) rename test/algorithms/{ => union}/union_pl_pl.cpp (99%) diff --git a/test/algorithms/Jamfile.v2 b/test/algorithms/Jamfile.v2 index 291b747b9..296240c43 100644 --- a/test/algorithms/Jamfile.v2 +++ b/test/algorithms/Jamfile.v2 @@ -27,18 +27,12 @@ test-suite boost-geometry-algorithms [ run convert.cpp : : : msvc:/bigobj ] [ run covered_by.cpp ] [ run crosses.cpp : : : msvc:/bigobj ] - [ run difference.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] - [ run difference_linear_linear.cpp ] - [ run difference_pl_pl.cpp ] [ run disjoint.cpp : : : msvc:/bigobj ] [ run disjoint_coverage.cpp : : : msvc:/bigobj ] [ run envelope.cpp : : : msvc:/bigobj ] [ run equals.cpp : : : msvc:/bigobj ] [ run expand.cpp ] [ run for_each.cpp ] - [ run intersection.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] - [ run intersection_linear_linear.cpp ] - [ run intersection_pl_pl.cpp ] [ run intersects.cpp : : : msvc:/bigobj ] [ run is_simple.cpp : : : msvc:/bigobj ] [ run is_valid.cpp : : : msvc:/bigobj ] @@ -58,12 +52,8 @@ test-suite boost-geometry-algorithms [ run remove_spikes.cpp ] [ run reverse.cpp ] [ run simplify.cpp ] - [ run sym_difference_linear_linear.cpp ] [ run touches.cpp : : : msvc:/bigobj ] [ run transform.cpp ] - [ run union.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] - [ run union_linear_linear.cpp ] - [ run union_pl_pl.cpp ] [ run unique.cpp ] [ run within.cpp : : : msvc:/bigobj ] [ run within_areal_areal.cpp : : : msvc:/bigobj ] @@ -72,14 +62,11 @@ test-suite boost-geometry-algorithms [ run within_pointlike_xxx.cpp : : : msvc:/bigobj ] ; -build-project buffer - ; - -build-project detail - ; - -build-project distance - ; - -build-project overlay - ; +build-project buffer ; +build-project detail ; +build-project difference ; +build-project distance ; +build-project intersection ; +build-project overlay ; +build-project sym_difference ; +build-project union ; diff --git a/test/algorithms/difference/Jamfile.v2 b/test/algorithms/difference/Jamfile.v2 new file mode 100644 index 000000000..a68e15a99 --- /dev/null +++ b/test/algorithms/difference/Jamfile.v2 @@ -0,0 +1,22 @@ +# Boost.Geometry (aka GGL, Generic Geometry Library) +# +# Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands. +# Copyright (c) 2008-2014 Bruno Lalande, Paris, France. +# Copyright (c) 2009-2014 Mateusz Loskot, London, UK. +# +# This file was modified by Oracle on 2014. +# Modifications copyright (c) 2014, Oracle and/or its affiliates. +# +# Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle +# Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle +# +# Use, modification and distribution is subject to the Boost Software License, +# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +test-suite boost-geometry-algorithms + : + [ run difference.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] + [ run difference_linear_linear.cpp ] + [ run difference_pl_pl.cpp ] + ; diff --git a/test/algorithms/difference.cpp b/test/algorithms/difference/difference.cpp similarity index 99% rename from test/algorithms/difference.cpp rename to test/algorithms/difference/difference.cpp index 6f83aef4a..362722798 100644 --- a/test/algorithms/difference.cpp +++ b/test/algorithms/difference/difference.cpp @@ -25,7 +25,7 @@ #include -#include +#include "test_difference.hpp" #include #include #include diff --git a/test/algorithms/difference_linear_linear.cpp b/test/algorithms/difference/difference_linear_linear.cpp similarity index 100% rename from test/algorithms/difference_linear_linear.cpp rename to test/algorithms/difference/difference_linear_linear.cpp diff --git a/test/algorithms/difference_pl_pl.cpp b/test/algorithms/difference/difference_pl_pl.cpp similarity index 99% rename from test/algorithms/difference_pl_pl.cpp rename to test/algorithms/difference/difference_pl_pl.cpp index 3030dea4e..ad245819c 100644 --- a/test/algorithms/difference_pl_pl.cpp +++ b/test/algorithms/difference/difference_pl_pl.cpp @@ -20,7 +20,7 @@ #include -#include "test_set_ops_pl_pl.hpp" +#include "../set_ops/test_set_ops_pl_pl.hpp" #include diff --git a/test/algorithms/test_difference.hpp b/test/algorithms/difference/test_difference.hpp similarity index 100% rename from test/algorithms/test_difference.hpp rename to test/algorithms/difference/test_difference.hpp diff --git a/test/algorithms/test_difference_linear_linear.hpp b/test/algorithms/difference/test_difference_linear_linear.hpp similarity index 98% rename from test/algorithms/test_difference_linear_linear.hpp rename to test/algorithms/difference/test_difference_linear_linear.hpp index e062b8202..213675049 100644 --- a/test/algorithms/test_difference_linear_linear.hpp +++ b/test/algorithms/difference/test_difference_linear_linear.hpp @@ -11,7 +11,7 @@ #define BOOST_GEOMETRY_TEST_DIFFERENCE_LINEAR_LINEAR_HPP #include -#include "test_set_ops_linear_linear.hpp" +#include "../set_ops/test_set_ops_linear_linear.hpp" #include #include diff --git a/test/algorithms/intersection/Jamfile.v2 b/test/algorithms/intersection/Jamfile.v2 new file mode 100644 index 000000000..475eb35a2 --- /dev/null +++ b/test/algorithms/intersection/Jamfile.v2 @@ -0,0 +1,22 @@ +# Boost.Geometry (aka GGL, Generic Geometry Library) +# +# Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands. +# Copyright (c) 2008-2014 Bruno Lalande, Paris, France. +# Copyright (c) 2009-2014 Mateusz Loskot, London, UK. +# +# This file was modified by Oracle on 2014. +# Modifications copyright (c) 2014, Oracle and/or its affiliates. +# +# Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle +# Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle +# +# Use, modification and distribution is subject to the Boost Software License, +# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +test-suite boost-geometry-algorithms-intersection + : + [ run intersection.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] + [ run intersection_linear_linear.cpp ] + [ run intersection_pl_pl.cpp ] + ; diff --git a/test/algorithms/intersection.cpp b/test/algorithms/intersection/intersection.cpp similarity index 99% rename from test/algorithms/intersection.cpp rename to test/algorithms/intersection/intersection.cpp index cefdb8ec9..85b266a9f 100644 --- a/test/algorithms/intersection.cpp +++ b/test/algorithms/intersection/intersection.cpp @@ -26,7 +26,7 @@ #include -#include +#include "test_intersection.hpp" #include #include diff --git a/test/algorithms/intersection_linear_linear.cpp b/test/algorithms/intersection/intersection_linear_linear.cpp similarity index 100% rename from test/algorithms/intersection_linear_linear.cpp rename to test/algorithms/intersection/intersection_linear_linear.cpp diff --git a/test/algorithms/intersection_pl_pl.cpp b/test/algorithms/intersection/intersection_pl_pl.cpp similarity index 99% rename from test/algorithms/intersection_pl_pl.cpp rename to test/algorithms/intersection/intersection_pl_pl.cpp index da5617b92..1b22039d6 100644 --- a/test/algorithms/intersection_pl_pl.cpp +++ b/test/algorithms/intersection/intersection_pl_pl.cpp @@ -20,7 +20,7 @@ #include -#include "test_set_ops_pl_pl.hpp" +#include "../set_ops/test_set_ops_pl_pl.hpp" #include diff --git a/test/algorithms/intersection_segment.cpp b/test/algorithms/intersection/intersection_segment.cpp similarity index 100% rename from test/algorithms/intersection_segment.cpp rename to test/algorithms/intersection/intersection_segment.cpp diff --git a/test/algorithms/test_intersection.hpp b/test/algorithms/intersection/test_intersection.hpp similarity index 100% rename from test/algorithms/test_intersection.hpp rename to test/algorithms/intersection/test_intersection.hpp diff --git a/test/algorithms/test_intersection_linear_linear.hpp b/test/algorithms/intersection/test_intersection_linear_linear.hpp similarity index 99% rename from test/algorithms/test_intersection_linear_linear.hpp rename to test/algorithms/intersection/test_intersection_linear_linear.hpp index 7b1c2d54f..b00e6c6b4 100644 --- a/test/algorithms/test_intersection_linear_linear.hpp +++ b/test/algorithms/intersection/test_intersection_linear_linear.hpp @@ -12,7 +12,7 @@ #include #include -#include "test_set_ops_linear_linear.hpp" +#include "../set_ops/test_set_ops_linear_linear.hpp" #include #include diff --git a/test/algorithms/set_ops_ll.cpp b/test/algorithms/set_ops/set_ops_ll.cpp similarity index 100% rename from test/algorithms/set_ops_ll.cpp rename to test/algorithms/set_ops/set_ops_ll.cpp diff --git a/test/algorithms/set_ops_pp.cpp b/test/algorithms/set_ops/set_ops_pp.cpp similarity index 100% rename from test/algorithms/set_ops_pp.cpp rename to test/algorithms/set_ops/set_ops_pp.cpp diff --git a/test/algorithms/test_get_turns_ll_invariance.hpp b/test/algorithms/set_ops/test_get_turns_ll_invariance.hpp similarity index 100% rename from test/algorithms/test_get_turns_ll_invariance.hpp rename to test/algorithms/set_ops/test_get_turns_ll_invariance.hpp diff --git a/test/algorithms/test_set_ops_linear_linear.hpp b/test/algorithms/set_ops/test_set_ops_linear_linear.hpp similarity index 100% rename from test/algorithms/test_set_ops_linear_linear.hpp rename to test/algorithms/set_ops/test_set_ops_linear_linear.hpp diff --git a/test/algorithms/test_set_ops_pl_pl.hpp b/test/algorithms/set_ops/test_set_ops_pl_pl.hpp similarity index 100% rename from test/algorithms/test_set_ops_pl_pl.hpp rename to test/algorithms/set_ops/test_set_ops_pl_pl.hpp diff --git a/test/algorithms/sym_difference/Jamfile.v2 b/test/algorithms/sym_difference/Jamfile.v2 new file mode 100644 index 000000000..f64bb92ba --- /dev/null +++ b/test/algorithms/sym_difference/Jamfile.v2 @@ -0,0 +1,20 @@ +# Boost.Geometry (aka GGL, Generic Geometry Library) +# +# Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands. +# Copyright (c) 2008-2014 Bruno Lalande, Paris, France. +# Copyright (c) 2009-2014 Mateusz Loskot, London, UK. +# +# This file was modified by Oracle on 2014. +# Modifications copyright (c) 2014, Oracle and/or its affiliates. +# +# Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle +# Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle +# +# Use, modification and distribution is subject to the Boost Software License, +# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +test-suite boost-geometry-algorithms-sym_difference + : + [ run sym_difference_linear_linear.cpp ] + ; diff --git a/test/algorithms/sym_difference_linear_linear.cpp b/test/algorithms/sym_difference/sym_difference_linear_linear.cpp similarity index 100% rename from test/algorithms/sym_difference_linear_linear.cpp rename to test/algorithms/sym_difference/sym_difference_linear_linear.cpp diff --git a/test/algorithms/test_sym_difference_linear_linear.hpp b/test/algorithms/sym_difference/test_sym_difference_linear_linear.hpp similarity index 99% rename from test/algorithms/test_sym_difference_linear_linear.hpp rename to test/algorithms/sym_difference/test_sym_difference_linear_linear.hpp index 03b6756fd..7f8015a70 100644 --- a/test/algorithms/test_sym_difference_linear_linear.hpp +++ b/test/algorithms/sym_difference/test_sym_difference_linear_linear.hpp @@ -11,7 +11,7 @@ #define BOOST_GEOMETRY_TEST_SYM_DIFFERENCE_LINEAR_LINEAR_HPP #include -#include "test_set_ops_linear_linear.hpp" +#include "../set_ops/test_set_ops_linear_linear.hpp" #include #include diff --git a/test/algorithms/union/Jamfile.v2 b/test/algorithms/union/Jamfile.v2 new file mode 100644 index 000000000..56a717948 --- /dev/null +++ b/test/algorithms/union/Jamfile.v2 @@ -0,0 +1,22 @@ +# Boost.Geometry (aka GGL, Generic Geometry Library) +# +# Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands. +# Copyright (c) 2008-2014 Bruno Lalande, Paris, France. +# Copyright (c) 2009-2014 Mateusz Loskot, London, UK. +# +# This file was modified by Oracle on 2014. +# Modifications copyright (c) 2014, Oracle and/or its affiliates. +# +# Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle +# Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle +# +# Use, modification and distribution is subject to the Boost Software License, +# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +test-suite boost-geometry-algorithms-union + : + [ run union.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] + [ run union_linear_linear.cpp ] + [ run union_pl_pl.cpp ] + ; diff --git a/test/algorithms/test_union.hpp b/test/algorithms/union/test_union.hpp similarity index 100% rename from test/algorithms/test_union.hpp rename to test/algorithms/union/test_union.hpp diff --git a/test/algorithms/test_union_linear_linear.hpp b/test/algorithms/union/test_union_linear_linear.hpp similarity index 99% rename from test/algorithms/test_union_linear_linear.hpp rename to test/algorithms/union/test_union_linear_linear.hpp index 42b644c54..d8d2fb7c0 100644 --- a/test/algorithms/test_union_linear_linear.hpp +++ b/test/algorithms/union/test_union_linear_linear.hpp @@ -11,7 +11,7 @@ #define BOOST_GEOMETRY_TEST_UNION_LINEAR_LINEAR_HPP #include -#include "test_set_ops_linear_linear.hpp" +#include "../set_ops/test_set_ops_linear_linear.hpp" #include #include diff --git a/test/algorithms/union.cpp b/test/algorithms/union/union.cpp similarity index 99% rename from test/algorithms/union.cpp rename to test/algorithms/union/union.cpp index b5dfbf237..5be277cbf 100644 --- a/test/algorithms/union.cpp +++ b/test/algorithms/union/union.cpp @@ -19,7 +19,7 @@ // Test which would fail then are disabled automatically // #define BOOST_GEOMETRY_NO_ROBUSTNESS -#include +#include "test_union.hpp" #include #include diff --git a/test/algorithms/union_linear_linear.cpp b/test/algorithms/union/union_linear_linear.cpp similarity index 100% rename from test/algorithms/union_linear_linear.cpp rename to test/algorithms/union/union_linear_linear.cpp diff --git a/test/algorithms/union_pl_pl.cpp b/test/algorithms/union/union_pl_pl.cpp similarity index 99% rename from test/algorithms/union_pl_pl.cpp rename to test/algorithms/union/union_pl_pl.cpp index 160d86646..0053fe1dc 100644 --- a/test/algorithms/union_pl_pl.cpp +++ b/test/algorithms/union/union_pl_pl.cpp @@ -20,7 +20,7 @@ #include -#include "test_set_ops_pl_pl.hpp" +#include "../set_ops/test_set_ops_pl_pl.hpp" #include From 0279dca727ea74f7c847fc7ff5a7874e32d2c57c Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 30 Oct 2014 12:00:59 +0100 Subject: [PATCH 04/10] [test] Move disjoint, relate and within tests to separate directories. --- test/algorithms/Jamfile.v2 | 14 +++-------- test/algorithms/disjoint/Jamfile.v2 | 21 ++++++++++++++++ test/algorithms/{ => disjoint}/disjoint.cpp | 2 +- .../{ => disjoint}/disjoint_coverage.cpp | 0 .../{ => disjoint}/test_disjoint.hpp | 0 test/algorithms/relate/Jamfile.v2 | 23 ++++++++++++++++++ .../{ => relate}/relate_areal_areal.cpp | 2 +- .../{ => relate}/relate_linear_areal.cpp | 2 +- .../{ => relate}/relate_linear_linear.cpp | 2 +- .../{ => relate}/relate_pointlike_xxx.cpp | 2 +- test/algorithms/{ => relate}/test_relate.hpp | 0 test/algorithms/within/Jamfile.v2 | 24 +++++++++++++++++++ test/algorithms/{ => within}/test_within.hpp | 0 test/algorithms/{ => within}/within.cpp | 2 +- .../{ => within}/within_areal_areal.cpp | 2 +- .../{ => within}/within_linear_areal.cpp | 2 +- .../{ => within}/within_linear_linear.cpp | 2 +- .../{ => within}/within_pointlike_xxx.cpp | 2 +- 18 files changed, 81 insertions(+), 21 deletions(-) create mode 100644 test/algorithms/disjoint/Jamfile.v2 rename test/algorithms/{ => disjoint}/disjoint.cpp (99%) rename test/algorithms/{ => disjoint}/disjoint_coverage.cpp (100%) rename test/algorithms/{ => disjoint}/test_disjoint.hpp (100%) create mode 100644 test/algorithms/relate/Jamfile.v2 rename test/algorithms/{ => relate}/relate_areal_areal.cpp (99%) rename test/algorithms/{ => relate}/relate_linear_areal.cpp (99%) rename test/algorithms/{ => relate}/relate_linear_linear.cpp (99%) rename test/algorithms/{ => relate}/relate_pointlike_xxx.cpp (99%) rename test/algorithms/{ => relate}/test_relate.hpp (100%) create mode 100644 test/algorithms/within/Jamfile.v2 rename test/algorithms/{ => within}/test_within.hpp (100%) rename test/algorithms/{ => within}/within.cpp (99%) rename test/algorithms/{ => within}/within_areal_areal.cpp (98%) rename test/algorithms/{ => within}/within_linear_areal.cpp (98%) rename test/algorithms/{ => within}/within_linear_linear.cpp (99%) rename test/algorithms/{ => within}/within_pointlike_xxx.cpp (99%) diff --git a/test/algorithms/Jamfile.v2 b/test/algorithms/Jamfile.v2 index 296240c43..6df0467dc 100644 --- a/test/algorithms/Jamfile.v2 +++ b/test/algorithms/Jamfile.v2 @@ -27,8 +27,6 @@ test-suite boost-geometry-algorithms [ run convert.cpp : : : msvc:/bigobj ] [ run covered_by.cpp ] [ run crosses.cpp : : : msvc:/bigobj ] - [ run disjoint.cpp : : : msvc:/bigobj ] - [ run disjoint_coverage.cpp : : : msvc:/bigobj ] [ run envelope.cpp : : : msvc:/bigobj ] [ run equals.cpp : : : msvc:/bigobj ] [ run expand.cpp ] @@ -45,28 +43,22 @@ test-suite boost-geometry-algorithms [ run overlaps.cpp : : : msvc:/bigobj ] [ run perimeter.cpp ] [ run point_on_surface.cpp ] - [ run relate_areal_areal.cpp : : : msvc:/bigobj ] - [ run relate_linear_areal.cpp : : : msvc:/bigobj ] - [ run relate_linear_linear.cpp : : : msvc:/bigobj ] - [ run relate_pointlike_xxx.cpp : : : msvc:/bigobj ] [ run remove_spikes.cpp ] [ run reverse.cpp ] [ run simplify.cpp ] [ run touches.cpp : : : msvc:/bigobj ] [ run transform.cpp ] [ run unique.cpp ] - [ run within.cpp : : : msvc:/bigobj ] - [ run within_areal_areal.cpp : : : msvc:/bigobj ] - [ run within_linear_areal.cpp : : : msvc:/bigobj ] - [ run within_linear_linear.cpp : : : msvc:/bigobj ] - [ run within_pointlike_xxx.cpp : : : msvc:/bigobj ] ; build-project buffer ; build-project detail ; build-project difference ; +build-project disjoint ; build-project distance ; build-project intersection ; build-project overlay ; +build-project relate ; build-project sym_difference ; build-project union ; +build-project within ; diff --git a/test/algorithms/disjoint/Jamfile.v2 b/test/algorithms/disjoint/Jamfile.v2 new file mode 100644 index 000000000..ed1d9ca56 --- /dev/null +++ b/test/algorithms/disjoint/Jamfile.v2 @@ -0,0 +1,21 @@ +# Boost.Geometry (aka GGL, Generic Geometry Library) +# +# Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands. +# Copyright (c) 2008-2014 Bruno Lalande, Paris, France. +# Copyright (c) 2009-2014 Mateusz Loskot, London, UK. +# +# This file was modified by Oracle on 2014. +# Modifications copyright (c) 2014, Oracle and/or its affiliates. +# +# Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle +# Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle +# +# Use, modification and distribution is subject to the Boost Software License, +# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +test-suite boost-geometry-algorithms-disjoint + : + [ run disjoint.cpp : : : msvc:/bigobj ] + [ run disjoint_coverage.cpp : : : msvc:/bigobj ] + ; diff --git a/test/algorithms/disjoint.cpp b/test/algorithms/disjoint/disjoint.cpp similarity index 99% rename from test/algorithms/disjoint.cpp rename to test/algorithms/disjoint/disjoint.cpp index d765ef952..67a0f90a0 100644 --- a/test/algorithms/disjoint.cpp +++ b/test/algorithms/disjoint/disjoint.cpp @@ -13,7 +13,7 @@ // http://www.boost.org/LICENSE_1_0.txt) -#include +#include "test_disjoint.hpp" #include #include diff --git a/test/algorithms/disjoint_coverage.cpp b/test/algorithms/disjoint/disjoint_coverage.cpp similarity index 100% rename from test/algorithms/disjoint_coverage.cpp rename to test/algorithms/disjoint/disjoint_coverage.cpp diff --git a/test/algorithms/test_disjoint.hpp b/test/algorithms/disjoint/test_disjoint.hpp similarity index 100% rename from test/algorithms/test_disjoint.hpp rename to test/algorithms/disjoint/test_disjoint.hpp diff --git a/test/algorithms/relate/Jamfile.v2 b/test/algorithms/relate/Jamfile.v2 new file mode 100644 index 000000000..de4f28392 --- /dev/null +++ b/test/algorithms/relate/Jamfile.v2 @@ -0,0 +1,23 @@ +# Boost.Geometry (aka GGL, Generic Geometry Library) +# +# Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands. +# Copyright (c) 2008-2014 Bruno Lalande, Paris, France. +# Copyright (c) 2009-2014 Mateusz Loskot, London, UK. +# +# This file was modified by Oracle on 2014. +# Modifications copyright (c) 2014, Oracle and/or its affiliates. +# +# Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle +# Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle +# +# Use, modification and distribution is subject to the Boost Software License, +# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +test-suite boost-geometry-algorithms + : + [ run relate_areal_areal.cpp : : : msvc:/bigobj ] + [ run relate_linear_areal.cpp : : : msvc:/bigobj ] + [ run relate_linear_linear.cpp : : : msvc:/bigobj ] + [ run relate_pointlike_xxx.cpp : : : msvc:/bigobj ] + ; diff --git a/test/algorithms/relate_areal_areal.cpp b/test/algorithms/relate/relate_areal_areal.cpp similarity index 99% rename from test/algorithms/relate_areal_areal.cpp rename to test/algorithms/relate/relate_areal_areal.cpp index fd9e84c40..0e8d95339 100644 --- a/test/algorithms/relate_areal_areal.cpp +++ b/test/algorithms/relate/relate_areal_areal.cpp @@ -11,7 +11,7 @@ // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle -#include +#include "test_relate.hpp" //TEST //#include diff --git a/test/algorithms/relate_linear_areal.cpp b/test/algorithms/relate/relate_linear_areal.cpp similarity index 99% rename from test/algorithms/relate_linear_areal.cpp rename to test/algorithms/relate/relate_linear_areal.cpp index 0096a01aa..09fd7c4dd 100644 --- a/test/algorithms/relate_linear_areal.cpp +++ b/test/algorithms/relate/relate_linear_areal.cpp @@ -11,7 +11,7 @@ // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle -#include +#include "test_relate.hpp" //TEST //#include diff --git a/test/algorithms/relate_linear_linear.cpp b/test/algorithms/relate/relate_linear_linear.cpp similarity index 99% rename from test/algorithms/relate_linear_linear.cpp rename to test/algorithms/relate/relate_linear_linear.cpp index f847db6fd..d1b43bb48 100644 --- a/test/algorithms/relate_linear_linear.cpp +++ b/test/algorithms/relate/relate_linear_linear.cpp @@ -11,7 +11,7 @@ // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle -#include +#include "test_relate.hpp" //TEST //#include diff --git a/test/algorithms/relate_pointlike_xxx.cpp b/test/algorithms/relate/relate_pointlike_xxx.cpp similarity index 99% rename from test/algorithms/relate_pointlike_xxx.cpp rename to test/algorithms/relate/relate_pointlike_xxx.cpp index 02d1fd84e..f9314454f 100644 --- a/test/algorithms/relate_pointlike_xxx.cpp +++ b/test/algorithms/relate/relate_pointlike_xxx.cpp @@ -11,7 +11,7 @@ // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle -#include +#include "test_relate.hpp" //TEST //#include diff --git a/test/algorithms/test_relate.hpp b/test/algorithms/relate/test_relate.hpp similarity index 100% rename from test/algorithms/test_relate.hpp rename to test/algorithms/relate/test_relate.hpp diff --git a/test/algorithms/within/Jamfile.v2 b/test/algorithms/within/Jamfile.v2 new file mode 100644 index 000000000..67131d785 --- /dev/null +++ b/test/algorithms/within/Jamfile.v2 @@ -0,0 +1,24 @@ +# Boost.Geometry (aka GGL, Generic Geometry Library) +# +# Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands. +# Copyright (c) 2008-2014 Bruno Lalande, Paris, France. +# Copyright (c) 2009-2014 Mateusz Loskot, London, UK. +# +# This file was modified by Oracle on 2014. +# Modifications copyright (c) 2014, Oracle and/or its affiliates. +# +# Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle +# Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle +# +# Use, modification and distribution is subject to the Boost Software License, +# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +test-suite boost-geometry-algorithms-within + : + [ run within.cpp : : : msvc:/bigobj ] + [ run within_areal_areal.cpp : : : msvc:/bigobj ] + [ run within_linear_areal.cpp : : : msvc:/bigobj ] + [ run within_linear_linear.cpp : : : msvc:/bigobj ] + [ run within_pointlike_xxx.cpp : : : msvc:/bigobj ] + ; diff --git a/test/algorithms/test_within.hpp b/test/algorithms/within/test_within.hpp similarity index 100% rename from test/algorithms/test_within.hpp rename to test/algorithms/within/test_within.hpp diff --git a/test/algorithms/within.cpp b/test/algorithms/within/within.cpp similarity index 99% rename from test/algorithms/within.cpp rename to test/algorithms/within/within.cpp index 6abdce19b..2300a4ec5 100644 --- a/test/algorithms/within.cpp +++ b/test/algorithms/within/within.cpp @@ -12,7 +12,7 @@ // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle -#include +#include "test_within.hpp" #include diff --git a/test/algorithms/within_areal_areal.cpp b/test/algorithms/within/within_areal_areal.cpp similarity index 98% rename from test/algorithms/within_areal_areal.cpp rename to test/algorithms/within/within_areal_areal.cpp index 57f417d95..5e8673c8c 100644 --- a/test/algorithms/within_areal_areal.cpp +++ b/test/algorithms/within/within_areal_areal.cpp @@ -12,7 +12,7 @@ // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle -#include +#include "test_within.hpp" #include diff --git a/test/algorithms/within_linear_areal.cpp b/test/algorithms/within/within_linear_areal.cpp similarity index 98% rename from test/algorithms/within_linear_areal.cpp rename to test/algorithms/within/within_linear_areal.cpp index 68f9ce396..412dbd051 100644 --- a/test/algorithms/within_linear_areal.cpp +++ b/test/algorithms/within/within_linear_areal.cpp @@ -12,7 +12,7 @@ // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle -#include +#include "test_within.hpp" #include diff --git a/test/algorithms/within_linear_linear.cpp b/test/algorithms/within/within_linear_linear.cpp similarity index 99% rename from test/algorithms/within_linear_linear.cpp rename to test/algorithms/within/within_linear_linear.cpp index bf77d4cb8..6467e0110 100644 --- a/test/algorithms/within_linear_linear.cpp +++ b/test/algorithms/within/within_linear_linear.cpp @@ -12,7 +12,7 @@ // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle -#include +#include "test_within.hpp" #include diff --git a/test/algorithms/within_pointlike_xxx.cpp b/test/algorithms/within/within_pointlike_xxx.cpp similarity index 99% rename from test/algorithms/within_pointlike_xxx.cpp rename to test/algorithms/within/within_pointlike_xxx.cpp index 392ee5f78..5ea4f09f2 100644 --- a/test/algorithms/within_pointlike_xxx.cpp +++ b/test/algorithms/within/within_pointlike_xxx.cpp @@ -12,7 +12,7 @@ // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle -#include +#include "test_within.hpp" #include From 2dcd853a35d103a67e596cd0c06c72e176efa93a Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 30 Oct 2014 12:07:06 +0100 Subject: [PATCH 05/10] [test] Move IO tests from multi directory. --- test/{multi => }/io/dsv/Jamfile.v2 | 2 +- test/{multi => }/io/dsv/multi_dsv.cpp | 0 test/io/wkt/Jamfile.v2 | 1 + test/{multi => }/io/wkt/multi_wkt.cpp | 0 test/multi/Jamfile.v2 | 1 - test/multi/io/Jamfile.v2 | 12 ------------ test/multi/io/wkt/Jamfile.v2 | 15 --------------- 7 files changed, 2 insertions(+), 29 deletions(-) rename test/{multi => }/io/dsv/Jamfile.v2 (92%) rename test/{multi => }/io/dsv/multi_dsv.cpp (100%) rename test/{multi => }/io/wkt/multi_wkt.cpp (100%) delete mode 100644 test/multi/io/Jamfile.v2 delete mode 100644 test/multi/io/wkt/Jamfile.v2 diff --git a/test/multi/io/dsv/Jamfile.v2 b/test/io/dsv/Jamfile.v2 similarity index 92% rename from test/multi/io/dsv/Jamfile.v2 rename to test/io/dsv/Jamfile.v2 index 1a855ae27..73d818db7 100644 --- a/test/multi/io/dsv/Jamfile.v2 +++ b/test/io/dsv/Jamfile.v2 @@ -8,7 +8,7 @@ # Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) -test-suite boost-geometry-multi-io-dsv +test-suite boost-geometry-io-dsv : [ run multi_dsv.cpp ] ; diff --git a/test/multi/io/dsv/multi_dsv.cpp b/test/io/dsv/multi_dsv.cpp similarity index 100% rename from test/multi/io/dsv/multi_dsv.cpp rename to test/io/dsv/multi_dsv.cpp diff --git a/test/io/wkt/Jamfile.v2 b/test/io/wkt/Jamfile.v2 index c93e26a8e..27813bbf6 100644 --- a/test/io/wkt/Jamfile.v2 +++ b/test/io/wkt/Jamfile.v2 @@ -10,6 +10,7 @@ test-suite boost-geometry-io-wkt : + [ run multi_wkt.cpp ] [ run wkt.cpp ] ; diff --git a/test/multi/io/wkt/multi_wkt.cpp b/test/io/wkt/multi_wkt.cpp similarity index 100% rename from test/multi/io/wkt/multi_wkt.cpp rename to test/io/wkt/multi_wkt.cpp diff --git a/test/multi/Jamfile.v2 b/test/multi/Jamfile.v2 index b38d8c5ad..fb7ed7568 100644 --- a/test/multi/Jamfile.v2 +++ b/test/multi/Jamfile.v2 @@ -9,4 +9,3 @@ # http://www.boost.org/LICENSE_1_0.txt) build-project algorithms ; -build-project io ; \ No newline at end of file diff --git a/test/multi/io/Jamfile.v2 b/test/multi/io/Jamfile.v2 deleted file mode 100644 index 6985a7ab9..000000000 --- a/test/multi/io/Jamfile.v2 +++ /dev/null @@ -1,12 +0,0 @@ -# Boost.Geometry (aka GGL, Generic Geometry Library) -# -# Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. -# Copyright (c) 2008-2012 Bruno Lalande, Paris, France. -# Copyright (c) 2009-2012 Mateusz Loskot, London, UK. -# -# Use, modification and distribution is subject to the Boost Software License, -# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -# http://www.boost.org/LICENSE_1_0.txt) - -build-project wkt ; -build-project dsv ; diff --git a/test/multi/io/wkt/Jamfile.v2 b/test/multi/io/wkt/Jamfile.v2 deleted file mode 100644 index 50c17cf68..000000000 --- a/test/multi/io/wkt/Jamfile.v2 +++ /dev/null @@ -1,15 +0,0 @@ -# Boost.Geometry (aka GGL, Generic Geometry Library) -# -# Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. -# Copyright (c) 2008-2012 Bruno Lalande, Paris, France. -# Copyright (c) 2009-2012 Mateusz Loskot, London, UK. -# -# Use, modification and distribution is subject to the Boost Software License, -# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -# http://www.boost.org/LICENSE_1_0.txt) - -test-suite boost-geometry-multi-io-wkt - : - [ run multi_wkt.cpp ] - ; - From 26b338a20f23c4a523243e66459f3c940a62098e Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 30 Oct 2014 13:09:12 +0100 Subject: [PATCH 06/10] [test] Move set and relational operations tests to separate directories. --- test/algorithms/Jamfile.v2 | 16 ++-------- .../relational_operations/Jamfile.v2 | 29 +++++++++++++++++++ .../covered_by.cpp | 2 +- .../{ => relational_operations}/crosses.cpp | 2 +- .../disjoint/Jamfile.v2 | 0 .../disjoint/disjoint.cpp | 0 .../disjoint/disjoint_coverage.cpp | 0 .../disjoint/test_disjoint.hpp | 0 .../{ => relational_operations}/equals.cpp | 2 +- .../intersects.cpp | 2 +- .../{ => relational_operations}/overlaps.cpp | 2 +- .../relate/Jamfile.v2 | 2 +- .../relate/relate_areal_areal.cpp | 0 .../relate/relate_linear_areal.cpp | 0 .../relate/relate_linear_linear.cpp | 0 .../relate/relate_pointlike_xxx.cpp | 0 .../relate/test_relate.hpp | 0 .../test_covered_by.hpp | 0 .../test_crosses.hpp | 0 .../test_equals.hpp | 0 .../test_intersects.hpp | 0 .../test_overlaps.hpp | 0 .../test_touches.hpp | 0 .../{ => relational_operations}/touches.cpp | 2 +- .../within/Jamfile.v2 | 0 .../within/test_within.hpp | 0 .../within/within.cpp | 0 .../within/within_areal_areal.cpp | 0 .../within/within_linear_areal.cpp | 0 .../within/within_linear_linear.cpp | 0 .../within/within_pointlike_xxx.cpp | 0 test/algorithms/set_operations/Jamfile.v2 | 20 +++++++++++++ .../difference/Jamfile.v2 | 2 +- .../difference/difference.cpp | 0 .../difference/difference_linear_linear.cpp | 0 .../difference/difference_pl_pl.cpp | 2 +- .../difference/test_difference.hpp | 0 .../test_difference_linear_linear.hpp | 2 +- .../intersection/Jamfile.v2 | 0 .../intersection/intersection.cpp | 0 .../intersection_linear_linear.cpp | 0 .../intersection/intersection_pl_pl.cpp | 2 +- .../intersection/intersection_segment.cpp | 0 .../intersection/test_intersection.hpp | 0 .../test_intersection_linear_linear.hpp | 2 +- .../set_ops_ll.cpp | 0 .../set_ops_pp.cpp | 0 .../sym_difference/Jamfile.v2 | 0 .../sym_difference_linear_linear.cpp | 0 .../test_sym_difference_linear_linear.hpp | 2 +- .../test_get_turns_ll_invariance.hpp | 0 .../test_set_ops_linear_linear.hpp | 0 .../test_set_ops_pl_pl.hpp | 0 .../{ => set_operations}/union/Jamfile.v2 | 0 .../{ => set_operations}/union/test_union.hpp | 0 .../union/test_union_linear_linear.hpp | 2 +- .../{ => set_operations}/union/union.cpp | 0 .../union/union_linear_linear.cpp | 0 .../union/union_pl_pl.cpp | 2 +- 59 files changed, 66 insertions(+), 29 deletions(-) create mode 100644 test/algorithms/relational_operations/Jamfile.v2 rename test/algorithms/{ => relational_operations}/covered_by.cpp (99%) rename test/algorithms/{ => relational_operations}/crosses.cpp (98%) rename test/algorithms/{ => relational_operations}/disjoint/Jamfile.v2 (100%) rename test/algorithms/{ => relational_operations}/disjoint/disjoint.cpp (100%) rename test/algorithms/{ => relational_operations}/disjoint/disjoint_coverage.cpp (100%) rename test/algorithms/{ => relational_operations}/disjoint/test_disjoint.hpp (100%) rename test/algorithms/{ => relational_operations}/equals.cpp (99%) rename test/algorithms/{ => relational_operations}/intersects.cpp (99%) rename test/algorithms/{ => relational_operations}/overlaps.cpp (98%) rename test/algorithms/{ => relational_operations}/relate/Jamfile.v2 (95%) rename test/algorithms/{ => relational_operations}/relate/relate_areal_areal.cpp (100%) rename test/algorithms/{ => relational_operations}/relate/relate_linear_areal.cpp (100%) rename test/algorithms/{ => relational_operations}/relate/relate_linear_linear.cpp (100%) rename test/algorithms/{ => relational_operations}/relate/relate_pointlike_xxx.cpp (100%) rename test/algorithms/{ => relational_operations}/relate/test_relate.hpp (100%) rename test/algorithms/{ => relational_operations}/test_covered_by.hpp (100%) rename test/algorithms/{ => relational_operations}/test_crosses.hpp (100%) rename test/algorithms/{ => relational_operations}/test_equals.hpp (100%) rename test/algorithms/{ => relational_operations}/test_intersects.hpp (100%) rename test/algorithms/{ => relational_operations}/test_overlaps.hpp (100%) rename test/algorithms/{ => relational_operations}/test_touches.hpp (100%) rename test/algorithms/{ => relational_operations}/touches.cpp (99%) rename test/algorithms/{ => relational_operations}/within/Jamfile.v2 (100%) rename test/algorithms/{ => relational_operations}/within/test_within.hpp (100%) rename test/algorithms/{ => relational_operations}/within/within.cpp (100%) rename test/algorithms/{ => relational_operations}/within/within_areal_areal.cpp (100%) rename test/algorithms/{ => relational_operations}/within/within_linear_areal.cpp (100%) rename test/algorithms/{ => relational_operations}/within/within_linear_linear.cpp (100%) rename test/algorithms/{ => relational_operations}/within/within_pointlike_xxx.cpp (100%) create mode 100644 test/algorithms/set_operations/Jamfile.v2 rename test/algorithms/{ => set_operations}/difference/Jamfile.v2 (94%) rename test/algorithms/{ => set_operations}/difference/difference.cpp (100%) rename test/algorithms/{ => set_operations}/difference/difference_linear_linear.cpp (100%) rename test/algorithms/{ => set_operations}/difference/difference_pl_pl.cpp (99%) rename test/algorithms/{ => set_operations}/difference/test_difference.hpp (100%) rename test/algorithms/{ => set_operations}/difference/test_difference_linear_linear.hpp (98%) rename test/algorithms/{ => set_operations}/intersection/Jamfile.v2 (100%) rename test/algorithms/{ => set_operations}/intersection/intersection.cpp (100%) rename test/algorithms/{ => set_operations}/intersection/intersection_linear_linear.cpp (100%) rename test/algorithms/{ => set_operations}/intersection/intersection_pl_pl.cpp (99%) rename test/algorithms/{ => set_operations}/intersection/intersection_segment.cpp (100%) rename test/algorithms/{ => set_operations}/intersection/test_intersection.hpp (100%) rename test/algorithms/{ => set_operations}/intersection/test_intersection_linear_linear.hpp (99%) rename test/algorithms/{set_ops => set_operations}/set_ops_ll.cpp (100%) rename test/algorithms/{set_ops => set_operations}/set_ops_pp.cpp (100%) rename test/algorithms/{ => set_operations}/sym_difference/Jamfile.v2 (100%) rename test/algorithms/{ => set_operations}/sym_difference/sym_difference_linear_linear.cpp (100%) rename test/algorithms/{ => set_operations}/sym_difference/test_sym_difference_linear_linear.hpp (99%) rename test/algorithms/{set_ops => set_operations}/test_get_turns_ll_invariance.hpp (100%) rename test/algorithms/{set_ops => set_operations}/test_set_ops_linear_linear.hpp (100%) rename test/algorithms/{set_ops => set_operations}/test_set_ops_pl_pl.hpp (100%) rename test/algorithms/{ => set_operations}/union/Jamfile.v2 (100%) rename test/algorithms/{ => set_operations}/union/test_union.hpp (100%) rename test/algorithms/{ => set_operations}/union/test_union_linear_linear.hpp (99%) rename test/algorithms/{ => set_operations}/union/union.cpp (100%) rename test/algorithms/{ => set_operations}/union/union_linear_linear.cpp (100%) rename test/algorithms/{ => set_operations}/union/union_pl_pl.cpp (99%) diff --git a/test/algorithms/Jamfile.v2 b/test/algorithms/Jamfile.v2 index 6df0467dc..cd321dd8b 100644 --- a/test/algorithms/Jamfile.v2 +++ b/test/algorithms/Jamfile.v2 @@ -25,13 +25,9 @@ test-suite boost-geometry-algorithms [ run convex_hull.cpp : : : msvc:/bigobj ] [ run correct.cpp : : : msvc:/bigobj ] [ run convert.cpp : : : msvc:/bigobj ] - [ run covered_by.cpp ] - [ run crosses.cpp : : : msvc:/bigobj ] [ run envelope.cpp : : : msvc:/bigobj ] - [ run equals.cpp : : : msvc:/bigobj ] [ run expand.cpp ] [ run for_each.cpp ] - [ run intersects.cpp : : : msvc:/bigobj ] [ run is_simple.cpp : : : msvc:/bigobj ] [ run is_valid.cpp : : : msvc:/bigobj ] [ run length.cpp ] @@ -40,25 +36,17 @@ test-suite boost-geometry-algorithms [ run num_interior_rings.cpp ] [ run num_points.cpp ] [ run num_segments.cpp ] - [ run overlaps.cpp : : : msvc:/bigobj ] [ run perimeter.cpp ] [ run point_on_surface.cpp ] [ run remove_spikes.cpp ] [ run reverse.cpp ] [ run simplify.cpp ] - [ run touches.cpp : : : msvc:/bigobj ] [ run transform.cpp ] [ run unique.cpp ] ; build-project buffer ; build-project detail ; -build-project difference ; -build-project disjoint ; build-project distance ; -build-project intersection ; -build-project overlay ; -build-project relate ; -build-project sym_difference ; -build-project union ; -build-project within ; +build-project relational_operations ; +build-project set_operations ; diff --git a/test/algorithms/relational_operations/Jamfile.v2 b/test/algorithms/relational_operations/Jamfile.v2 new file mode 100644 index 000000000..8b8209261 --- /dev/null +++ b/test/algorithms/relational_operations/Jamfile.v2 @@ -0,0 +1,29 @@ +# Boost.Geometry (aka GGL, Generic Geometry Library) +# +# Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands. +# Copyright (c) 2008-2014 Bruno Lalande, Paris, France. +# Copyright (c) 2009-2014 Mateusz Loskot, London, UK. +# +# This file was modified by Oracle on 2014. +# Modifications copyright (c) 2014, Oracle and/or its affiliates. +# +# Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle +# Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle +# +# Use, modification and distribution is subject to the Boost Software License, +# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +test-suite boost-geometry-algorithms-relational + : + [ run covered_by.cpp : : : msvc:/bigobj ] + [ run crosses.cpp : : : msvc:/bigobj ] + [ run equals.cpp : : : msvc:/bigobj ] + [ run intersects.cpp : : : msvc:/bigobj ] + [ run overlaps.cpp : : : msvc:/bigobj ] + [ run touches.cpp : : : msvc:/bigobj ] + ; + +build-project disjoint ; +build-project relate ; +build-project within ; diff --git a/test/algorithms/covered_by.cpp b/test/algorithms/relational_operations/covered_by.cpp similarity index 99% rename from test/algorithms/covered_by.cpp rename to test/algorithms/relational_operations/covered_by.cpp index b4a00ea89..15031487a 100644 --- a/test/algorithms/covered_by.cpp +++ b/test/algorithms/relational_operations/covered_by.cpp @@ -7,7 +7,7 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -#include +#include "test_covered_by.hpp" #include diff --git a/test/algorithms/crosses.cpp b/test/algorithms/relational_operations/crosses.cpp similarity index 98% rename from test/algorithms/crosses.cpp rename to test/algorithms/relational_operations/crosses.cpp index 103791018..62cb9146e 100644 --- a/test/algorithms/crosses.cpp +++ b/test/algorithms/relational_operations/crosses.cpp @@ -11,7 +11,7 @@ // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle -#include +#include "test_crosses.hpp" template void test_pl() diff --git a/test/algorithms/disjoint/Jamfile.v2 b/test/algorithms/relational_operations/disjoint/Jamfile.v2 similarity index 100% rename from test/algorithms/disjoint/Jamfile.v2 rename to test/algorithms/relational_operations/disjoint/Jamfile.v2 diff --git a/test/algorithms/disjoint/disjoint.cpp b/test/algorithms/relational_operations/disjoint/disjoint.cpp similarity index 100% rename from test/algorithms/disjoint/disjoint.cpp rename to test/algorithms/relational_operations/disjoint/disjoint.cpp diff --git a/test/algorithms/disjoint/disjoint_coverage.cpp b/test/algorithms/relational_operations/disjoint/disjoint_coverage.cpp similarity index 100% rename from test/algorithms/disjoint/disjoint_coverage.cpp rename to test/algorithms/relational_operations/disjoint/disjoint_coverage.cpp diff --git a/test/algorithms/disjoint/test_disjoint.hpp b/test/algorithms/relational_operations/disjoint/test_disjoint.hpp similarity index 100% rename from test/algorithms/disjoint/test_disjoint.hpp rename to test/algorithms/relational_operations/disjoint/test_disjoint.hpp diff --git a/test/algorithms/equals.cpp b/test/algorithms/relational_operations/equals.cpp similarity index 99% rename from test/algorithms/equals.cpp rename to test/algorithms/relational_operations/equals.cpp index 1ee21ec22..8aa8fd30e 100644 --- a/test/algorithms/equals.cpp +++ b/test/algorithms/relational_operations/equals.cpp @@ -11,7 +11,7 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -#include +#include "test_equals.hpp" #include #include diff --git a/test/algorithms/intersects.cpp b/test/algorithms/relational_operations/intersects.cpp similarity index 99% rename from test/algorithms/intersects.cpp rename to test/algorithms/relational_operations/intersects.cpp index 82bd0fe8e..01b2f73e5 100644 --- a/test/algorithms/intersects.cpp +++ b/test/algorithms/relational_operations/intersects.cpp @@ -10,7 +10,7 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -#include +#include "test_intersects.hpp" #include diff --git a/test/algorithms/overlaps.cpp b/test/algorithms/relational_operations/overlaps.cpp similarity index 98% rename from test/algorithms/overlaps.cpp rename to test/algorithms/relational_operations/overlaps.cpp index 14c615e25..594cb1084 100644 --- a/test/algorithms/overlaps.cpp +++ b/test/algorithms/relational_operations/overlaps.cpp @@ -11,7 +11,7 @@ // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle -#include +#include "test_overlaps.hpp" template void test_box_box_2d() diff --git a/test/algorithms/relate/Jamfile.v2 b/test/algorithms/relational_operations/relate/Jamfile.v2 similarity index 95% rename from test/algorithms/relate/Jamfile.v2 rename to test/algorithms/relational_operations/relate/Jamfile.v2 index de4f28392..871b8eb17 100644 --- a/test/algorithms/relate/Jamfile.v2 +++ b/test/algorithms/relational_operations/relate/Jamfile.v2 @@ -14,7 +14,7 @@ # Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) -test-suite boost-geometry-algorithms +test-suite boost-geometry-algorithms-relate : [ run relate_areal_areal.cpp : : : msvc:/bigobj ] [ run relate_linear_areal.cpp : : : msvc:/bigobj ] diff --git a/test/algorithms/relate/relate_areal_areal.cpp b/test/algorithms/relational_operations/relate/relate_areal_areal.cpp similarity index 100% rename from test/algorithms/relate/relate_areal_areal.cpp rename to test/algorithms/relational_operations/relate/relate_areal_areal.cpp diff --git a/test/algorithms/relate/relate_linear_areal.cpp b/test/algorithms/relational_operations/relate/relate_linear_areal.cpp similarity index 100% rename from test/algorithms/relate/relate_linear_areal.cpp rename to test/algorithms/relational_operations/relate/relate_linear_areal.cpp diff --git a/test/algorithms/relate/relate_linear_linear.cpp b/test/algorithms/relational_operations/relate/relate_linear_linear.cpp similarity index 100% rename from test/algorithms/relate/relate_linear_linear.cpp rename to test/algorithms/relational_operations/relate/relate_linear_linear.cpp diff --git a/test/algorithms/relate/relate_pointlike_xxx.cpp b/test/algorithms/relational_operations/relate/relate_pointlike_xxx.cpp similarity index 100% rename from test/algorithms/relate/relate_pointlike_xxx.cpp rename to test/algorithms/relational_operations/relate/relate_pointlike_xxx.cpp diff --git a/test/algorithms/relate/test_relate.hpp b/test/algorithms/relational_operations/relate/test_relate.hpp similarity index 100% rename from test/algorithms/relate/test_relate.hpp rename to test/algorithms/relational_operations/relate/test_relate.hpp diff --git a/test/algorithms/test_covered_by.hpp b/test/algorithms/relational_operations/test_covered_by.hpp similarity index 100% rename from test/algorithms/test_covered_by.hpp rename to test/algorithms/relational_operations/test_covered_by.hpp diff --git a/test/algorithms/test_crosses.hpp b/test/algorithms/relational_operations/test_crosses.hpp similarity index 100% rename from test/algorithms/test_crosses.hpp rename to test/algorithms/relational_operations/test_crosses.hpp diff --git a/test/algorithms/test_equals.hpp b/test/algorithms/relational_operations/test_equals.hpp similarity index 100% rename from test/algorithms/test_equals.hpp rename to test/algorithms/relational_operations/test_equals.hpp diff --git a/test/algorithms/test_intersects.hpp b/test/algorithms/relational_operations/test_intersects.hpp similarity index 100% rename from test/algorithms/test_intersects.hpp rename to test/algorithms/relational_operations/test_intersects.hpp diff --git a/test/algorithms/test_overlaps.hpp b/test/algorithms/relational_operations/test_overlaps.hpp similarity index 100% rename from test/algorithms/test_overlaps.hpp rename to test/algorithms/relational_operations/test_overlaps.hpp diff --git a/test/algorithms/test_touches.hpp b/test/algorithms/relational_operations/test_touches.hpp similarity index 100% rename from test/algorithms/test_touches.hpp rename to test/algorithms/relational_operations/test_touches.hpp diff --git a/test/algorithms/touches.cpp b/test/algorithms/relational_operations/touches.cpp similarity index 99% rename from test/algorithms/touches.cpp rename to test/algorithms/relational_operations/touches.cpp index 451233ef3..d7a92c8e0 100644 --- a/test/algorithms/touches.cpp +++ b/test/algorithms/relational_operations/touches.cpp @@ -11,7 +11,7 @@ // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle -#include +#include "test_touches.hpp" template void test_all() diff --git a/test/algorithms/within/Jamfile.v2 b/test/algorithms/relational_operations/within/Jamfile.v2 similarity index 100% rename from test/algorithms/within/Jamfile.v2 rename to test/algorithms/relational_operations/within/Jamfile.v2 diff --git a/test/algorithms/within/test_within.hpp b/test/algorithms/relational_operations/within/test_within.hpp similarity index 100% rename from test/algorithms/within/test_within.hpp rename to test/algorithms/relational_operations/within/test_within.hpp diff --git a/test/algorithms/within/within.cpp b/test/algorithms/relational_operations/within/within.cpp similarity index 100% rename from test/algorithms/within/within.cpp rename to test/algorithms/relational_operations/within/within.cpp diff --git a/test/algorithms/within/within_areal_areal.cpp b/test/algorithms/relational_operations/within/within_areal_areal.cpp similarity index 100% rename from test/algorithms/within/within_areal_areal.cpp rename to test/algorithms/relational_operations/within/within_areal_areal.cpp diff --git a/test/algorithms/within/within_linear_areal.cpp b/test/algorithms/relational_operations/within/within_linear_areal.cpp similarity index 100% rename from test/algorithms/within/within_linear_areal.cpp rename to test/algorithms/relational_operations/within/within_linear_areal.cpp diff --git a/test/algorithms/within/within_linear_linear.cpp b/test/algorithms/relational_operations/within/within_linear_linear.cpp similarity index 100% rename from test/algorithms/within/within_linear_linear.cpp rename to test/algorithms/relational_operations/within/within_linear_linear.cpp diff --git a/test/algorithms/within/within_pointlike_xxx.cpp b/test/algorithms/relational_operations/within/within_pointlike_xxx.cpp similarity index 100% rename from test/algorithms/within/within_pointlike_xxx.cpp rename to test/algorithms/relational_operations/within/within_pointlike_xxx.cpp diff --git a/test/algorithms/set_operations/Jamfile.v2 b/test/algorithms/set_operations/Jamfile.v2 new file mode 100644 index 000000000..27ebad64b --- /dev/null +++ b/test/algorithms/set_operations/Jamfile.v2 @@ -0,0 +1,20 @@ +# Boost.Geometry (aka GGL, Generic Geometry Library) +# +# Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands. +# Copyright (c) 2008-2014 Bruno Lalande, Paris, France. +# Copyright (c) 2009-2014 Mateusz Loskot, London, UK. +# +# This file was modified by Oracle on 2014. +# Modifications copyright (c) 2014, Oracle and/or its affiliates. +# +# Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle +# Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle +# +# Use, modification and distribution is subject to the Boost Software License, +# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +build-project difference ; +build-project intersection ; +build-project sym_difference ; +build-project union ; diff --git a/test/algorithms/difference/Jamfile.v2 b/test/algorithms/set_operations/difference/Jamfile.v2 similarity index 94% rename from test/algorithms/difference/Jamfile.v2 rename to test/algorithms/set_operations/difference/Jamfile.v2 index a68e15a99..e74a6848c 100644 --- a/test/algorithms/difference/Jamfile.v2 +++ b/test/algorithms/set_operations/difference/Jamfile.v2 @@ -14,7 +14,7 @@ # Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) -test-suite boost-geometry-algorithms +test-suite boost-geometry-algorithms-difference : [ run difference.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] [ run difference_linear_linear.cpp ] diff --git a/test/algorithms/difference/difference.cpp b/test/algorithms/set_operations/difference/difference.cpp similarity index 100% rename from test/algorithms/difference/difference.cpp rename to test/algorithms/set_operations/difference/difference.cpp diff --git a/test/algorithms/difference/difference_linear_linear.cpp b/test/algorithms/set_operations/difference/difference_linear_linear.cpp similarity index 100% rename from test/algorithms/difference/difference_linear_linear.cpp rename to test/algorithms/set_operations/difference/difference_linear_linear.cpp diff --git a/test/algorithms/difference/difference_pl_pl.cpp b/test/algorithms/set_operations/difference/difference_pl_pl.cpp similarity index 99% rename from test/algorithms/difference/difference_pl_pl.cpp rename to test/algorithms/set_operations/difference/difference_pl_pl.cpp index ad245819c..14a80f485 100644 --- a/test/algorithms/difference/difference_pl_pl.cpp +++ b/test/algorithms/set_operations/difference/difference_pl_pl.cpp @@ -20,7 +20,7 @@ #include -#include "../set_ops/test_set_ops_pl_pl.hpp" +#include "../test_set_ops_pl_pl.hpp" #include diff --git a/test/algorithms/difference/test_difference.hpp b/test/algorithms/set_operations/difference/test_difference.hpp similarity index 100% rename from test/algorithms/difference/test_difference.hpp rename to test/algorithms/set_operations/difference/test_difference.hpp diff --git a/test/algorithms/difference/test_difference_linear_linear.hpp b/test/algorithms/set_operations/difference/test_difference_linear_linear.hpp similarity index 98% rename from test/algorithms/difference/test_difference_linear_linear.hpp rename to test/algorithms/set_operations/difference/test_difference_linear_linear.hpp index 213675049..daa037151 100644 --- a/test/algorithms/difference/test_difference_linear_linear.hpp +++ b/test/algorithms/set_operations/difference/test_difference_linear_linear.hpp @@ -11,7 +11,7 @@ #define BOOST_GEOMETRY_TEST_DIFFERENCE_LINEAR_LINEAR_HPP #include -#include "../set_ops/test_set_ops_linear_linear.hpp" +#include "../test_set_ops_linear_linear.hpp" #include #include diff --git a/test/algorithms/intersection/Jamfile.v2 b/test/algorithms/set_operations/intersection/Jamfile.v2 similarity index 100% rename from test/algorithms/intersection/Jamfile.v2 rename to test/algorithms/set_operations/intersection/Jamfile.v2 diff --git a/test/algorithms/intersection/intersection.cpp b/test/algorithms/set_operations/intersection/intersection.cpp similarity index 100% rename from test/algorithms/intersection/intersection.cpp rename to test/algorithms/set_operations/intersection/intersection.cpp diff --git a/test/algorithms/intersection/intersection_linear_linear.cpp b/test/algorithms/set_operations/intersection/intersection_linear_linear.cpp similarity index 100% rename from test/algorithms/intersection/intersection_linear_linear.cpp rename to test/algorithms/set_operations/intersection/intersection_linear_linear.cpp diff --git a/test/algorithms/intersection/intersection_pl_pl.cpp b/test/algorithms/set_operations/intersection/intersection_pl_pl.cpp similarity index 99% rename from test/algorithms/intersection/intersection_pl_pl.cpp rename to test/algorithms/set_operations/intersection/intersection_pl_pl.cpp index 1b22039d6..27b592e7a 100644 --- a/test/algorithms/intersection/intersection_pl_pl.cpp +++ b/test/algorithms/set_operations/intersection/intersection_pl_pl.cpp @@ -20,7 +20,7 @@ #include -#include "../set_ops/test_set_ops_pl_pl.hpp" +#include "../test_set_ops_pl_pl.hpp" #include diff --git a/test/algorithms/intersection/intersection_segment.cpp b/test/algorithms/set_operations/intersection/intersection_segment.cpp similarity index 100% rename from test/algorithms/intersection/intersection_segment.cpp rename to test/algorithms/set_operations/intersection/intersection_segment.cpp diff --git a/test/algorithms/intersection/test_intersection.hpp b/test/algorithms/set_operations/intersection/test_intersection.hpp similarity index 100% rename from test/algorithms/intersection/test_intersection.hpp rename to test/algorithms/set_operations/intersection/test_intersection.hpp diff --git a/test/algorithms/intersection/test_intersection_linear_linear.hpp b/test/algorithms/set_operations/intersection/test_intersection_linear_linear.hpp similarity index 99% rename from test/algorithms/intersection/test_intersection_linear_linear.hpp rename to test/algorithms/set_operations/intersection/test_intersection_linear_linear.hpp index b00e6c6b4..bc378f932 100644 --- a/test/algorithms/intersection/test_intersection_linear_linear.hpp +++ b/test/algorithms/set_operations/intersection/test_intersection_linear_linear.hpp @@ -12,7 +12,7 @@ #include #include -#include "../set_ops/test_set_ops_linear_linear.hpp" +#include "../test_set_ops_linear_linear.hpp" #include #include diff --git a/test/algorithms/set_ops/set_ops_ll.cpp b/test/algorithms/set_operations/set_ops_ll.cpp similarity index 100% rename from test/algorithms/set_ops/set_ops_ll.cpp rename to test/algorithms/set_operations/set_ops_ll.cpp diff --git a/test/algorithms/set_ops/set_ops_pp.cpp b/test/algorithms/set_operations/set_ops_pp.cpp similarity index 100% rename from test/algorithms/set_ops/set_ops_pp.cpp rename to test/algorithms/set_operations/set_ops_pp.cpp diff --git a/test/algorithms/sym_difference/Jamfile.v2 b/test/algorithms/set_operations/sym_difference/Jamfile.v2 similarity index 100% rename from test/algorithms/sym_difference/Jamfile.v2 rename to test/algorithms/set_operations/sym_difference/Jamfile.v2 diff --git a/test/algorithms/sym_difference/sym_difference_linear_linear.cpp b/test/algorithms/set_operations/sym_difference/sym_difference_linear_linear.cpp similarity index 100% rename from test/algorithms/sym_difference/sym_difference_linear_linear.cpp rename to test/algorithms/set_operations/sym_difference/sym_difference_linear_linear.cpp diff --git a/test/algorithms/sym_difference/test_sym_difference_linear_linear.hpp b/test/algorithms/set_operations/sym_difference/test_sym_difference_linear_linear.hpp similarity index 99% rename from test/algorithms/sym_difference/test_sym_difference_linear_linear.hpp rename to test/algorithms/set_operations/sym_difference/test_sym_difference_linear_linear.hpp index 7f8015a70..69c82403e 100644 --- a/test/algorithms/sym_difference/test_sym_difference_linear_linear.hpp +++ b/test/algorithms/set_operations/sym_difference/test_sym_difference_linear_linear.hpp @@ -11,7 +11,7 @@ #define BOOST_GEOMETRY_TEST_SYM_DIFFERENCE_LINEAR_LINEAR_HPP #include -#include "../set_ops/test_set_ops_linear_linear.hpp" +#include "../test_set_ops_linear_linear.hpp" #include #include diff --git a/test/algorithms/set_ops/test_get_turns_ll_invariance.hpp b/test/algorithms/set_operations/test_get_turns_ll_invariance.hpp similarity index 100% rename from test/algorithms/set_ops/test_get_turns_ll_invariance.hpp rename to test/algorithms/set_operations/test_get_turns_ll_invariance.hpp diff --git a/test/algorithms/set_ops/test_set_ops_linear_linear.hpp b/test/algorithms/set_operations/test_set_ops_linear_linear.hpp similarity index 100% rename from test/algorithms/set_ops/test_set_ops_linear_linear.hpp rename to test/algorithms/set_operations/test_set_ops_linear_linear.hpp diff --git a/test/algorithms/set_ops/test_set_ops_pl_pl.hpp b/test/algorithms/set_operations/test_set_ops_pl_pl.hpp similarity index 100% rename from test/algorithms/set_ops/test_set_ops_pl_pl.hpp rename to test/algorithms/set_operations/test_set_ops_pl_pl.hpp diff --git a/test/algorithms/union/Jamfile.v2 b/test/algorithms/set_operations/union/Jamfile.v2 similarity index 100% rename from test/algorithms/union/Jamfile.v2 rename to test/algorithms/set_operations/union/Jamfile.v2 diff --git a/test/algorithms/union/test_union.hpp b/test/algorithms/set_operations/union/test_union.hpp similarity index 100% rename from test/algorithms/union/test_union.hpp rename to test/algorithms/set_operations/union/test_union.hpp diff --git a/test/algorithms/union/test_union_linear_linear.hpp b/test/algorithms/set_operations/union/test_union_linear_linear.hpp similarity index 99% rename from test/algorithms/union/test_union_linear_linear.hpp rename to test/algorithms/set_operations/union/test_union_linear_linear.hpp index d8d2fb7c0..2fd16fbfb 100644 --- a/test/algorithms/union/test_union_linear_linear.hpp +++ b/test/algorithms/set_operations/union/test_union_linear_linear.hpp @@ -11,7 +11,7 @@ #define BOOST_GEOMETRY_TEST_UNION_LINEAR_LINEAR_HPP #include -#include "../set_ops/test_set_ops_linear_linear.hpp" +#include "../test_set_ops_linear_linear.hpp" #include #include diff --git a/test/algorithms/union/union.cpp b/test/algorithms/set_operations/union/union.cpp similarity index 100% rename from test/algorithms/union/union.cpp rename to test/algorithms/set_operations/union/union.cpp diff --git a/test/algorithms/union/union_linear_linear.cpp b/test/algorithms/set_operations/union/union_linear_linear.cpp similarity index 100% rename from test/algorithms/union/union_linear_linear.cpp rename to test/algorithms/set_operations/union/union_linear_linear.cpp diff --git a/test/algorithms/union/union_pl_pl.cpp b/test/algorithms/set_operations/union/union_pl_pl.cpp similarity index 99% rename from test/algorithms/union/union_pl_pl.cpp rename to test/algorithms/set_operations/union/union_pl_pl.cpp index 0053fe1dc..05be9f1f6 100644 --- a/test/algorithms/union/union_pl_pl.cpp +++ b/test/algorithms/set_operations/union/union_pl_pl.cpp @@ -20,7 +20,7 @@ #include -#include "../set_ops/test_set_ops_pl_pl.hpp" +#include "../test_set_ops_pl_pl.hpp" #include From 0568463385da1134921fdbb30a65af601f5461ae Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 30 Oct 2014 13:18:38 +0100 Subject: [PATCH 07/10] [test] Move relational operations tests from multi directory. --- test/algorithms/relational_operations/Jamfile.v2 | 4 ++++ test/algorithms/relational_operations/disjoint/Jamfile.v2 | 1 + .../relational_operations/disjoint}/multi_disjoint.cpp | 2 +- .../relational_operations}/multi_covered_by.cpp | 2 +- .../relational_operations}/multi_equals.cpp | 2 +- .../relational_operations}/multi_intersects.cpp | 2 +- .../relational_operations}/multi_touches.cpp | 2 +- test/algorithms/relational_operations/within/Jamfile.v2 | 1 + .../relational_operations/within}/multi_within.cpp | 2 +- test/multi/algorithms/Jamfile.v2 | 6 ------ 10 files changed, 12 insertions(+), 12 deletions(-) rename test/{multi/algorithms => algorithms/relational_operations/disjoint}/multi_disjoint.cpp (99%) rename test/{multi/algorithms => algorithms/relational_operations}/multi_covered_by.cpp (97%) rename test/{multi/algorithms => algorithms/relational_operations}/multi_equals.cpp (97%) rename test/{multi/algorithms => algorithms/relational_operations}/multi_intersects.cpp (96%) rename test/{multi/algorithms => algorithms/relational_operations}/multi_touches.cpp (98%) rename test/{multi/algorithms => algorithms/relational_operations/within}/multi_within.cpp (98%) diff --git a/test/algorithms/relational_operations/Jamfile.v2 b/test/algorithms/relational_operations/Jamfile.v2 index 8b8209261..5b432e2e9 100644 --- a/test/algorithms/relational_operations/Jamfile.v2 +++ b/test/algorithms/relational_operations/Jamfile.v2 @@ -20,6 +20,10 @@ test-suite boost-geometry-algorithms-relational [ run crosses.cpp : : : msvc:/bigobj ] [ run equals.cpp : : : msvc:/bigobj ] [ run intersects.cpp : : : msvc:/bigobj ] + [ run multi_covered_by.cpp : : : msvc:/bigobj ] + [ run multi_equals.cpp : : : msvc:/bigobj ] + [ run multi_intersects.cpp : : : msvc:/bigobj ] + [ run multi_touches.cpp : : : msvc:/bigobj ] [ run overlaps.cpp : : : msvc:/bigobj ] [ run touches.cpp : : : msvc:/bigobj ] ; diff --git a/test/algorithms/relational_operations/disjoint/Jamfile.v2 b/test/algorithms/relational_operations/disjoint/Jamfile.v2 index ed1d9ca56..a2423a745 100644 --- a/test/algorithms/relational_operations/disjoint/Jamfile.v2 +++ b/test/algorithms/relational_operations/disjoint/Jamfile.v2 @@ -18,4 +18,5 @@ test-suite boost-geometry-algorithms-disjoint : [ run disjoint.cpp : : : msvc:/bigobj ] [ run disjoint_coverage.cpp : : : msvc:/bigobj ] + [ run multi_disjoint.cpp : : : msvc:/bigobj ] ; diff --git a/test/multi/algorithms/multi_disjoint.cpp b/test/algorithms/relational_operations/disjoint/multi_disjoint.cpp similarity index 99% rename from test/multi/algorithms/multi_disjoint.cpp rename to test/algorithms/relational_operations/disjoint/multi_disjoint.cpp index 05cd985e3..bba5823cd 100644 --- a/test/multi/algorithms/multi_disjoint.cpp +++ b/test/algorithms/relational_operations/disjoint/multi_disjoint.cpp @@ -8,7 +8,7 @@ // http://www.boost.org/LICENSE_1_0.txt) -#include +#include "test_disjoint.hpp" #include diff --git a/test/multi/algorithms/multi_covered_by.cpp b/test/algorithms/relational_operations/multi_covered_by.cpp similarity index 97% rename from test/multi/algorithms/multi_covered_by.cpp rename to test/algorithms/relational_operations/multi_covered_by.cpp index df40109e5..7489435b4 100644 --- a/test/multi/algorithms/multi_covered_by.cpp +++ b/test/algorithms/relational_operations/multi_covered_by.cpp @@ -22,7 +22,7 @@ #include #include -#include +#include "test_covered_by.hpp" template diff --git a/test/multi/algorithms/multi_equals.cpp b/test/algorithms/relational_operations/multi_equals.cpp similarity index 97% rename from test/multi/algorithms/multi_equals.cpp rename to test/algorithms/relational_operations/multi_equals.cpp index 64bc0d470..d1239d38f 100644 --- a/test/multi/algorithms/multi_equals.cpp +++ b/test/algorithms/relational_operations/multi_equals.cpp @@ -6,7 +6,7 @@ // http://www.boost.org/LICENSE_1_0.txt) -#include +#include "test_equals.hpp" #include #include diff --git a/test/multi/algorithms/multi_intersects.cpp b/test/algorithms/relational_operations/multi_intersects.cpp similarity index 96% rename from test/multi/algorithms/multi_intersects.cpp rename to test/algorithms/relational_operations/multi_intersects.cpp index d07b8b6cf..1880064f8 100644 --- a/test/multi/algorithms/multi_intersects.cpp +++ b/test/algorithms/relational_operations/multi_intersects.cpp @@ -13,7 +13,7 @@ #include -#include +#include "test_intersects.hpp" #include diff --git a/test/multi/algorithms/multi_touches.cpp b/test/algorithms/relational_operations/multi_touches.cpp similarity index 98% rename from test/multi/algorithms/multi_touches.cpp rename to test/algorithms/relational_operations/multi_touches.cpp index 8774beaf2..86456b04a 100644 --- a/test/multi/algorithms/multi_touches.cpp +++ b/test/algorithms/relational_operations/multi_touches.cpp @@ -6,7 +6,7 @@ // http://www.boost.org/LICENSE_1_0.txt) -#include +#include "test_touches.hpp" #include #include diff --git a/test/algorithms/relational_operations/within/Jamfile.v2 b/test/algorithms/relational_operations/within/Jamfile.v2 index 67131d785..d2a679571 100644 --- a/test/algorithms/relational_operations/within/Jamfile.v2 +++ b/test/algorithms/relational_operations/within/Jamfile.v2 @@ -16,6 +16,7 @@ test-suite boost-geometry-algorithms-within : + [ run multi_within.cpp : : : msvc:/bigobj ] [ run within.cpp : : : msvc:/bigobj ] [ run within_areal_areal.cpp : : : msvc:/bigobj ] [ run within_linear_areal.cpp : : : msvc:/bigobj ] diff --git a/test/multi/algorithms/multi_within.cpp b/test/algorithms/relational_operations/within/multi_within.cpp similarity index 98% rename from test/multi/algorithms/multi_within.cpp rename to test/algorithms/relational_operations/within/multi_within.cpp index 59db2dbc6..cf5573aa6 100644 --- a/test/multi/algorithms/multi_within.cpp +++ b/test/algorithms/relational_operations/within/multi_within.cpp @@ -22,7 +22,7 @@ #include #include -#include +#include "test_within.hpp" template diff --git a/test/multi/algorithms/Jamfile.v2 b/test/multi/algorithms/Jamfile.v2 index ef1d6b2c8..8e115b5bf 100644 --- a/test/multi/algorithms/Jamfile.v2 +++ b/test/multi/algorithms/Jamfile.v2 @@ -15,15 +15,11 @@ test-suite boost-geometry-multi-algorithms [ run multi_convert.cpp ] [ run multi_convex_hull.cpp ] [ run multi_correct.cpp ] - [ run multi_covered_by.cpp ] [ run multi_difference.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] [ run multi_difference_spike.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] - [ run multi_disjoint.cpp ] [ run multi_envelope.cpp ] - [ run multi_equals.cpp ] [ run multi_for_each.cpp ] [ run multi_intersection.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] - [ run multi_intersects.cpp ] [ run multi_length.cpp ] [ run multi_num_geometries.cpp ] [ run multi_num_interior_rings.cpp ] @@ -31,11 +27,9 @@ test-suite boost-geometry-multi-algorithms [ run multi_perimeter.cpp ] [ run multi_reverse.cpp ] [ run multi_simplify.cpp ] - [ run multi_touches.cpp ] [ run multi_transform.cpp ] [ run multi_union.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] [ run multi_unique.cpp ] - [ run multi_within.cpp ] ; build-project overlay From 2bef2facc19d7fe4ab419c924f29ac0bf6db5321 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 30 Oct 2014 13:24:10 +0100 Subject: [PATCH 08/10] [test] Move set operations tests from multi directory. --- test/algorithms/set_operations/difference/Jamfile.v2 | 2 ++ .../set_operations/difference}/multi_difference.cpp | 2 +- .../set_operations/difference}/multi_difference_spike.cpp | 2 +- test/algorithms/set_operations/intersection/Jamfile.v2 | 1 + .../set_operations/intersection}/multi_intersection.cpp | 2 +- test/algorithms/set_operations/union/Jamfile.v2 | 1 + .../set_operations/union}/multi_union.cpp | 2 +- test/multi/algorithms/Jamfile.v2 | 4 ---- 8 files changed, 8 insertions(+), 8 deletions(-) rename test/{multi/algorithms => algorithms/set_operations/difference}/multi_difference.cpp (99%) rename test/{multi/algorithms => algorithms/set_operations/difference}/multi_difference_spike.cpp (99%) rename test/{multi/algorithms => algorithms/set_operations/intersection}/multi_intersection.cpp (99%) rename test/{multi/algorithms => algorithms/set_operations/union}/multi_union.cpp (99%) diff --git a/test/algorithms/set_operations/difference/Jamfile.v2 b/test/algorithms/set_operations/difference/Jamfile.v2 index e74a6848c..2903d9cc5 100644 --- a/test/algorithms/set_operations/difference/Jamfile.v2 +++ b/test/algorithms/set_operations/difference/Jamfile.v2 @@ -19,4 +19,6 @@ test-suite boost-geometry-algorithms-difference [ run difference.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] [ run difference_linear_linear.cpp ] [ run difference_pl_pl.cpp ] + [ run multi_difference.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] + [ run multi_difference_spike.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] ; diff --git a/test/multi/algorithms/multi_difference.cpp b/test/algorithms/set_operations/difference/multi_difference.cpp similarity index 99% rename from test/multi/algorithms/multi_difference.cpp rename to test/algorithms/set_operations/difference/multi_difference.cpp index 310931b56..3f6fd8c8a 100644 --- a/test/multi/algorithms/multi_difference.cpp +++ b/test/algorithms/set_operations/difference/multi_difference.cpp @@ -23,7 +23,7 @@ //#define BOOST_GEOMETRY_DEBUG_TRAVERSE -#include +#include "test_difference.hpp" #include #include diff --git a/test/multi/algorithms/multi_difference_spike.cpp b/test/algorithms/set_operations/difference/multi_difference_spike.cpp similarity index 99% rename from test/multi/algorithms/multi_difference_spike.cpp rename to test/algorithms/set_operations/difference/multi_difference_spike.cpp index 6753a2380..56a909262 100644 --- a/test/multi/algorithms/multi_difference_spike.cpp +++ b/test/algorithms/set_operations/difference/multi_difference_spike.cpp @@ -13,7 +13,7 @@ #include #include -#include +#include "test_difference.hpp" template diff --git a/test/algorithms/set_operations/intersection/Jamfile.v2 b/test/algorithms/set_operations/intersection/Jamfile.v2 index 475eb35a2..c039b1664 100644 --- a/test/algorithms/set_operations/intersection/Jamfile.v2 +++ b/test/algorithms/set_operations/intersection/Jamfile.v2 @@ -19,4 +19,5 @@ test-suite boost-geometry-algorithms-intersection [ run intersection.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] [ run intersection_linear_linear.cpp ] [ run intersection_pl_pl.cpp ] + [ run multi_intersection.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] ; diff --git a/test/multi/algorithms/multi_intersection.cpp b/test/algorithms/set_operations/intersection/multi_intersection.cpp similarity index 99% rename from test/multi/algorithms/multi_intersection.cpp rename to test/algorithms/set_operations/intersection/multi_intersection.cpp index 8dea0da23..9289a71a7 100644 --- a/test/multi/algorithms/multi_intersection.cpp +++ b/test/algorithms/set_operations/intersection/multi_intersection.cpp @@ -16,7 +16,7 @@ // #define BOOST_GEOMETRY_DEBUG_ASSEMBLE -#include +#include "test_intersection.hpp" #include #include diff --git a/test/algorithms/set_operations/union/Jamfile.v2 b/test/algorithms/set_operations/union/Jamfile.v2 index 56a717948..d4df3ea5c 100644 --- a/test/algorithms/set_operations/union/Jamfile.v2 +++ b/test/algorithms/set_operations/union/Jamfile.v2 @@ -16,6 +16,7 @@ test-suite boost-geometry-algorithms-union : + [ run multi_union.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] [ run union.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] [ run union_linear_linear.cpp ] [ run union_pl_pl.cpp ] diff --git a/test/multi/algorithms/multi_union.cpp b/test/algorithms/set_operations/union/multi_union.cpp similarity index 99% rename from test/multi/algorithms/multi_union.cpp rename to test/algorithms/set_operations/union/multi_union.cpp index 2e1e309a6..c9693f4d4 100644 --- a/test/multi/algorithms/multi_union.cpp +++ b/test/algorithms/set_operations/union/multi_union.cpp @@ -14,7 +14,7 @@ // This multi_union currently contains no tests for double which then fail // #define BOOST_GEOMETRY_NO_ROBUSTNESS -#include +#include "test_union.hpp" #include #include diff --git a/test/multi/algorithms/Jamfile.v2 b/test/multi/algorithms/Jamfile.v2 index 8e115b5bf..1d3adefaa 100644 --- a/test/multi/algorithms/Jamfile.v2 +++ b/test/multi/algorithms/Jamfile.v2 @@ -15,11 +15,8 @@ test-suite boost-geometry-multi-algorithms [ run multi_convert.cpp ] [ run multi_convex_hull.cpp ] [ run multi_correct.cpp ] - [ run multi_difference.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] - [ run multi_difference_spike.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] [ run multi_envelope.cpp ] [ run multi_for_each.cpp ] - [ run multi_intersection.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] [ run multi_length.cpp ] [ run multi_num_geometries.cpp ] [ run multi_num_interior_rings.cpp ] @@ -28,7 +25,6 @@ test-suite boost-geometry-multi-algorithms [ run multi_reverse.cpp ] [ run multi_simplify.cpp ] [ run multi_transform.cpp ] - [ run multi_union.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE msvc:/bigobj ] [ run multi_unique.cpp ] ; From 61c9fa6bd2aedee972925b5744aeb6af50215cb9 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 30 Oct 2014 13:41:41 +0100 Subject: [PATCH 09/10] [test] Move overlay tests from multi directory. --- test/algorithms/overlay/Jamfile.v2 | 1 + .../algorithms/overlay/multi_overlay_cases.hpp | 0 .../algorithms/overlay/multi_overlay_common.hpp | 0 .../algorithms/overlay/multi_traverse.cpp | 0 .../set_operations/difference/difference.cpp | 2 +- .../set_operations/difference/multi_difference.cpp | 2 +- .../intersection/multi_intersection.cpp | 2 +- .../set_operations/union/multi_union.cpp | 2 +- test/multi/algorithms/Jamfile.v2 | 3 --- test/multi/algorithms/overlay/Jamfile.v2 | 14 -------------- 10 files changed, 5 insertions(+), 21 deletions(-) rename test/{multi => }/algorithms/overlay/multi_overlay_cases.hpp (100%) rename test/{multi => }/algorithms/overlay/multi_overlay_common.hpp (100%) rename test/{multi => }/algorithms/overlay/multi_traverse.cpp (100%) delete mode 100644 test/multi/algorithms/overlay/Jamfile.v2 diff --git a/test/algorithms/overlay/Jamfile.v2 b/test/algorithms/overlay/Jamfile.v2 index 9319330e9..2d736874b 100644 --- a/test/algorithms/overlay/Jamfile.v2 +++ b/test/algorithms/overlay/Jamfile.v2 @@ -21,6 +21,7 @@ test-suite boost-geometry-algorithms-overlay [ run get_turns.cpp ] [ run get_turns_linear_linear.cpp ] [ run get_turns_linear_areal.cpp ] + [ run multi_traverse.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE BOOST_GEOMETRY_RESCALE_TO_ROBUST ] [ run relative_order.cpp ] [ run select_rings.cpp ] [ run self_intersection_points.cpp ] diff --git a/test/multi/algorithms/overlay/multi_overlay_cases.hpp b/test/algorithms/overlay/multi_overlay_cases.hpp similarity index 100% rename from test/multi/algorithms/overlay/multi_overlay_cases.hpp rename to test/algorithms/overlay/multi_overlay_cases.hpp diff --git a/test/multi/algorithms/overlay/multi_overlay_common.hpp b/test/algorithms/overlay/multi_overlay_common.hpp similarity index 100% rename from test/multi/algorithms/overlay/multi_overlay_common.hpp rename to test/algorithms/overlay/multi_overlay_common.hpp diff --git a/test/multi/algorithms/overlay/multi_traverse.cpp b/test/algorithms/overlay/multi_traverse.cpp similarity index 100% rename from test/multi/algorithms/overlay/multi_traverse.cpp rename to test/algorithms/overlay/multi_traverse.cpp diff --git a/test/algorithms/set_operations/difference/difference.cpp b/test/algorithms/set_operations/difference/difference.cpp index 362722798..a54316beb 100644 --- a/test/algorithms/set_operations/difference/difference.cpp +++ b/test/algorithms/set_operations/difference/difference.cpp @@ -28,7 +28,7 @@ #include "test_difference.hpp" #include #include -#include +#include #include diff --git a/test/algorithms/set_operations/difference/multi_difference.cpp b/test/algorithms/set_operations/difference/multi_difference.cpp index 3f6fd8c8a..f9e0c3d4d 100644 --- a/test/algorithms/set_operations/difference/multi_difference.cpp +++ b/test/algorithms/set_operations/difference/multi_difference.cpp @@ -25,7 +25,7 @@ #include "test_difference.hpp" #include -#include +#include #include #include diff --git a/test/algorithms/set_operations/intersection/multi_intersection.cpp b/test/algorithms/set_operations/intersection/multi_intersection.cpp index 9289a71a7..46106022d 100644 --- a/test/algorithms/set_operations/intersection/multi_intersection.cpp +++ b/test/algorithms/set_operations/intersection/multi_intersection.cpp @@ -18,7 +18,7 @@ #include "test_intersection.hpp" #include -#include +#include #include #include diff --git a/test/algorithms/set_operations/union/multi_union.cpp b/test/algorithms/set_operations/union/multi_union.cpp index c9693f4d4..b90459236 100644 --- a/test/algorithms/set_operations/union/multi_union.cpp +++ b/test/algorithms/set_operations/union/multi_union.cpp @@ -16,7 +16,7 @@ #include "test_union.hpp" #include -#include +#include #include #include diff --git a/test/multi/algorithms/Jamfile.v2 b/test/multi/algorithms/Jamfile.v2 index 1d3adefaa..221c9de38 100644 --- a/test/multi/algorithms/Jamfile.v2 +++ b/test/multi/algorithms/Jamfile.v2 @@ -27,6 +27,3 @@ test-suite boost-geometry-multi-algorithms [ run multi_transform.cpp ] [ run multi_unique.cpp ] ; - -build-project overlay - ; diff --git a/test/multi/algorithms/overlay/Jamfile.v2 b/test/multi/algorithms/overlay/Jamfile.v2 deleted file mode 100644 index 2ea7594e1..000000000 --- a/test/multi/algorithms/overlay/Jamfile.v2 +++ /dev/null @@ -1,14 +0,0 @@ -# Boost.Geometry (aka GGL, Generic Geometry Library) -# -# Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. -# Copyright (c) 2008-2012 Bruno Lalande, Paris, France. -# Copyright (c) 2009-2012 Mateusz Loskot, London, UK. -# -# Use, modification and distribution is subject to the Boost Software License, -# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -# http://www.boost.org/LICENSE_1_0.txt) - -test-suite boost-geometry-multi-algorithms-overlay - : - [ run multi_traverse.cpp : : : BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE BOOST_GEOMETRY_RESCALE_TO_ROBUST ] - ; From 9fec00c796dd10ad99141f5a8d4af5976f796b5e Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 30 Oct 2014 14:04:14 +0100 Subject: [PATCH 10/10] [test] Move the rest of the tests from multi directory and remove this directory. --- test/Jamfile.v2 | 1 - test/algorithms/Jamfile.v2 | 17 +++++++++++ test/{multi => }/algorithms/multi_area.cpp | 0 .../{multi => }/algorithms/multi_centroid.cpp | 0 test/{multi => }/algorithms/multi_clear.cpp | 0 test/{multi => }/algorithms/multi_convert.cpp | 0 .../algorithms/multi_convex_hull.cpp | 0 test/{multi => }/algorithms/multi_correct.cpp | 0 .../{multi => }/algorithms/multi_envelope.cpp | 0 .../{multi => }/algorithms/multi_for_each.cpp | 0 test/{multi => }/algorithms/multi_length.cpp | 0 .../algorithms/multi_num_geometries.cpp | 0 .../algorithms/multi_num_interior_rings.cpp | 0 .../algorithms/multi_num_points.cpp | 0 .../algorithms/multi_perimeter.cpp | 0 test/{multi => }/algorithms/multi_reverse.cpp | 0 .../{multi => }/algorithms/multi_simplify.cpp | 0 .../algorithms/multi_transform.cpp | 0 test/{multi => }/algorithms/multi_unique.cpp | 0 test/multi/Jamfile.v2 | 11 ------- test/multi/algorithms/Jamfile.v2 | 29 ------------------- 21 files changed, 17 insertions(+), 41 deletions(-) rename test/{multi => }/algorithms/multi_area.cpp (100%) rename test/{multi => }/algorithms/multi_centroid.cpp (100%) rename test/{multi => }/algorithms/multi_clear.cpp (100%) rename test/{multi => }/algorithms/multi_convert.cpp (100%) rename test/{multi => }/algorithms/multi_convex_hull.cpp (100%) rename test/{multi => }/algorithms/multi_correct.cpp (100%) rename test/{multi => }/algorithms/multi_envelope.cpp (100%) rename test/{multi => }/algorithms/multi_for_each.cpp (100%) rename test/{multi => }/algorithms/multi_length.cpp (100%) rename test/{multi => }/algorithms/multi_num_geometries.cpp (100%) rename test/{multi => }/algorithms/multi_num_interior_rings.cpp (100%) rename test/{multi => }/algorithms/multi_num_points.cpp (100%) rename test/{multi => }/algorithms/multi_perimeter.cpp (100%) rename test/{multi => }/algorithms/multi_reverse.cpp (100%) rename test/{multi => }/algorithms/multi_simplify.cpp (100%) rename test/{multi => }/algorithms/multi_transform.cpp (100%) rename test/{multi => }/algorithms/multi_unique.cpp (100%) delete mode 100644 test/multi/Jamfile.v2 delete mode 100644 test/multi/algorithms/Jamfile.v2 diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index d91542951..0f1d36035 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -29,4 +29,3 @@ build-project policies ; build-project io ; build-project util ; build-project views ; -build-project multi ; diff --git a/test/algorithms/Jamfile.v2 b/test/algorithms/Jamfile.v2 index cd321dd8b..9cd6dc4d0 100644 --- a/test/algorithms/Jamfile.v2 +++ b/test/algorithms/Jamfile.v2 @@ -32,6 +32,22 @@ test-suite boost-geometry-algorithms [ run is_valid.cpp : : : msvc:/bigobj ] [ run length.cpp ] [ run make.cpp ] + [ run multi_area.cpp ] + [ run multi_centroid.cpp ] + [ run multi_convert.cpp ] + [ run multi_convex_hull.cpp ] + [ run multi_correct.cpp ] + [ run multi_envelope.cpp ] + [ run multi_for_each.cpp ] + [ run multi_length.cpp ] + [ run multi_num_geometries.cpp ] + [ run multi_num_interior_rings.cpp ] + [ run multi_num_points.cpp ] + [ run multi_perimeter.cpp ] + [ run multi_reverse.cpp ] + [ run multi_simplify.cpp ] + [ run multi_transform.cpp ] + [ run multi_unique.cpp ] [ run num_geometries.cpp ] [ run num_interior_rings.cpp ] [ run num_points.cpp ] @@ -48,5 +64,6 @@ test-suite boost-geometry-algorithms build-project buffer ; build-project detail ; build-project distance ; +build-project overlay ; build-project relational_operations ; build-project set_operations ; diff --git a/test/multi/algorithms/multi_area.cpp b/test/algorithms/multi_area.cpp similarity index 100% rename from test/multi/algorithms/multi_area.cpp rename to test/algorithms/multi_area.cpp diff --git a/test/multi/algorithms/multi_centroid.cpp b/test/algorithms/multi_centroid.cpp similarity index 100% rename from test/multi/algorithms/multi_centroid.cpp rename to test/algorithms/multi_centroid.cpp diff --git a/test/multi/algorithms/multi_clear.cpp b/test/algorithms/multi_clear.cpp similarity index 100% rename from test/multi/algorithms/multi_clear.cpp rename to test/algorithms/multi_clear.cpp diff --git a/test/multi/algorithms/multi_convert.cpp b/test/algorithms/multi_convert.cpp similarity index 100% rename from test/multi/algorithms/multi_convert.cpp rename to test/algorithms/multi_convert.cpp diff --git a/test/multi/algorithms/multi_convex_hull.cpp b/test/algorithms/multi_convex_hull.cpp similarity index 100% rename from test/multi/algorithms/multi_convex_hull.cpp rename to test/algorithms/multi_convex_hull.cpp diff --git a/test/multi/algorithms/multi_correct.cpp b/test/algorithms/multi_correct.cpp similarity index 100% rename from test/multi/algorithms/multi_correct.cpp rename to test/algorithms/multi_correct.cpp diff --git a/test/multi/algorithms/multi_envelope.cpp b/test/algorithms/multi_envelope.cpp similarity index 100% rename from test/multi/algorithms/multi_envelope.cpp rename to test/algorithms/multi_envelope.cpp diff --git a/test/multi/algorithms/multi_for_each.cpp b/test/algorithms/multi_for_each.cpp similarity index 100% rename from test/multi/algorithms/multi_for_each.cpp rename to test/algorithms/multi_for_each.cpp diff --git a/test/multi/algorithms/multi_length.cpp b/test/algorithms/multi_length.cpp similarity index 100% rename from test/multi/algorithms/multi_length.cpp rename to test/algorithms/multi_length.cpp diff --git a/test/multi/algorithms/multi_num_geometries.cpp b/test/algorithms/multi_num_geometries.cpp similarity index 100% rename from test/multi/algorithms/multi_num_geometries.cpp rename to test/algorithms/multi_num_geometries.cpp diff --git a/test/multi/algorithms/multi_num_interior_rings.cpp b/test/algorithms/multi_num_interior_rings.cpp similarity index 100% rename from test/multi/algorithms/multi_num_interior_rings.cpp rename to test/algorithms/multi_num_interior_rings.cpp diff --git a/test/multi/algorithms/multi_num_points.cpp b/test/algorithms/multi_num_points.cpp similarity index 100% rename from test/multi/algorithms/multi_num_points.cpp rename to test/algorithms/multi_num_points.cpp diff --git a/test/multi/algorithms/multi_perimeter.cpp b/test/algorithms/multi_perimeter.cpp similarity index 100% rename from test/multi/algorithms/multi_perimeter.cpp rename to test/algorithms/multi_perimeter.cpp diff --git a/test/multi/algorithms/multi_reverse.cpp b/test/algorithms/multi_reverse.cpp similarity index 100% rename from test/multi/algorithms/multi_reverse.cpp rename to test/algorithms/multi_reverse.cpp diff --git a/test/multi/algorithms/multi_simplify.cpp b/test/algorithms/multi_simplify.cpp similarity index 100% rename from test/multi/algorithms/multi_simplify.cpp rename to test/algorithms/multi_simplify.cpp diff --git a/test/multi/algorithms/multi_transform.cpp b/test/algorithms/multi_transform.cpp similarity index 100% rename from test/multi/algorithms/multi_transform.cpp rename to test/algorithms/multi_transform.cpp diff --git a/test/multi/algorithms/multi_unique.cpp b/test/algorithms/multi_unique.cpp similarity index 100% rename from test/multi/algorithms/multi_unique.cpp rename to test/algorithms/multi_unique.cpp diff --git a/test/multi/Jamfile.v2 b/test/multi/Jamfile.v2 deleted file mode 100644 index fb7ed7568..000000000 --- a/test/multi/Jamfile.v2 +++ /dev/null @@ -1,11 +0,0 @@ -# Boost.Geometry (aka GGL, Generic Geometry Library) -# -# Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. -# Copyright (c) 2008-2012 Bruno Lalande, Paris, France. -# Copyright (c) 2009-2012 Mateusz Loskot, London, UK. -# -# Use, modification and distribution is subject to the Boost Software License, -# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -# http://www.boost.org/LICENSE_1_0.txt) - -build-project algorithms ; diff --git a/test/multi/algorithms/Jamfile.v2 b/test/multi/algorithms/Jamfile.v2 deleted file mode 100644 index 221c9de38..000000000 --- a/test/multi/algorithms/Jamfile.v2 +++ /dev/null @@ -1,29 +0,0 @@ -# Boost.Geometry (aka GGL, Generic Geometry Library) -# -# Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands. -# Copyright (c) 2008-2014 Bruno Lalande, Paris, France. -# Copyright (c) 2009-2014 Mateusz Loskot, London, UK. -# -# Use, modification and distribution is subject to the Boost Software License, -# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -# http://www.boost.org/LICENSE_1_0.txt) - -test-suite boost-geometry-multi-algorithms - : - [ run multi_area.cpp ] - [ run multi_centroid.cpp ] - [ run multi_convert.cpp ] - [ run multi_convex_hull.cpp ] - [ run multi_correct.cpp ] - [ run multi_envelope.cpp ] - [ run multi_for_each.cpp ] - [ run multi_length.cpp ] - [ run multi_num_geometries.cpp ] - [ run multi_num_interior_rings.cpp ] - [ run multi_num_points.cpp ] - [ run multi_perimeter.cpp ] - [ run multi_reverse.cpp ] - [ run multi_simplify.cpp ] - [ run multi_transform.cpp ] - [ run multi_unique.cpp ] - ;