// Boost.Geometry (aka GGL, Generic Geometry Library) // Unit Test // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. // This file was modified by Oracle on 2014. // Modifications copyright (c) 2014 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 #include #include #include #include #include #include #include BOOST_GEOMETRY_REGISTER_C_ARRAY_CS(cs::cartesian) BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS(cs::cartesian) BOOST_GEOMETRY_REGISTER_LINESTRING_TEMPLATED(std::vector) BOOST_GEOMETRY_REGISTER_LINESTRING_TEMPLATED(std::deque) template void test_geometry() { BOOST_CHECK_EQUAL(typeid(typename bg::point_type::type).name(), typeid(Expected).name()); static const bool is_same = boost::is_same::type, Expected>::value; BOOST_CHECK(is_same); } template void test_all() { test_geometry(); test_geometry

(); test_geometry(); test_geometry(); test_geometry(); test_geometry(); test_geometry , P>(); test_geometry *&, P>(); test_geometry , P>(); test_geometry , P>(); test_geometry , P>(); test_geometry , P>(); test_geometry , P>(); test_geometry, P>(); test_geometry, P>(); } int test_main(int, char* []) { test_geometry(); test_geometry(); test_geometry(); test_geometry(); test_geometry(); test_geometry(); test_geometry, boost::tuple >(); test_geometry, boost::tuple >(); test_geometry > >, boost::tuple >(); test_all >(); test_all >(); test_all >(); return 0; }