// Boost.Geometry (aka GGL, Generic Geometry Library) // Unit Test // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. // 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 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::coordinate_type::type).name(), typeid(Expected).name()); } template void test_all() { test_geometry(); test_geometry

(); test_geometry , Expected>(); test_geometry , Expected>(); test_geometry , Expected>(); test_geometry , Expected>(); test_geometry , Expected>(); test_geometry , Expected>(); test_geometry, Expected>(); test_geometry, Expected>(); } int test_main(int, char* []) { test_geometry(); test_geometry(); test_geometry(); test_geometry(); test_geometry(); test_geometry(); test_geometry, float>(); test_geometry, double>(); test_geometry, long double>(); test_geometry, double>(); test_all, int>(); test_all, float>(); test_all, double>(); test_all, long double>(); return 0; }