// Boost.Geometry (aka GGL, Generic Geometry Library) // Unit Test // Copyright (c) 2012-2015 Barend Gehrels, Amsterdam, the Netherlands. // This file was modified by Oracle on 2016. // Modifications copyright (c) 2016, Oracle and/or its affiliates. // 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) #include #include #include #include "test_intersects.hpp" #include #include #include template void test_all() { typedef bg::model::polygon polygon1; typedef bg::model::multi_polygon mp1; typedef bg::model::polygon polygon2; typedef bg::model::multi_polygon mp2; test_geometry("MULTIPOLYGON(((0 0,0 10,10 10,10 0,0 0)))", "MULTIPOLYGON(((0 0,0 10,10 10,10 0,0 0)))", true); test_geometry("POINT(0 0)", "MULTIPOLYGON(((0 0,0 10,10 10,10 0,0 0)))", true); } template void test_all() { test_all(); } int test_main(int, char* []) { //test_all >(); test_all >(); test_all, bg::model::point >(); return 0; }