X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=libs%2Fgeometry%2Ftest%2Fcore%2Ftag.cpp;h=f67c58d4b331dd7d327d38eccbc472d3b4728b91;hb=08c1e93fa36a49f49325a07fe91ff92c964c2b6c;hp=d3bbc4bc353fa9e11a9bc08f1d91dee8f86e3a33;hpb=bb4dd8289b351fae6b55e303f189127a394a1edd;p=platform%2Fupstream%2Fboost.git diff --git a/libs/geometry/test/core/tag.cpp b/libs/geometry/test/core/tag.cpp index d3bbc4b..f67c58d 100644 --- a/libs/geometry/test/core/tag.cpp +++ b/libs/geometry/test/core/tag.cpp @@ -3,6 +3,11 @@ // 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) @@ -10,6 +15,8 @@ #include +#include + #include #include @@ -34,6 +41,9 @@ void test_geometry() { BOOST_CHECK_EQUAL(typeid(typename bg::tag::type).name(), typeid(Expected).name()); + + static const bool is_same = boost::is_same::type, Expected>::value; + BOOST_CHECK(is_same); } template @@ -41,7 +51,12 @@ void test_all() { test_geometry(); test_geometry

(); + test_geometry(); + test_geometry(); + test_geometry(); + test_geometry(); test_geometry , bg::linestring_tag>(); + test_geometry *&, bg::linestring_tag>(); test_geometry , bg::ring_tag>(); test_geometry , bg::polygon_tag>(); test_geometry , bg::box_tag>();