// 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(bg::dimension::type::value, Expected); } template void test_all() { test_geometry(); test_geometry

(); test_geometry , D>(); test_geometry , D>(); test_geometry , D>(); test_geometry , D>(); test_geometry , D>(); test_geometry , D>(); test_geometry, D>(); test_geometry, D>(); } int test_main(int, char* []) { test_geometry(); test_geometry(); test_geometry(); test_geometry(); test_geometry(); test_geometry(); test_geometry, 2>(); test_geometry, 3>(); test_all, 2 >(); test_all, 2 >(); test_all, 2 >(); return 0; }