summaryrefslogtreecommitdiff
path: root/libs/geometry/test/point_concept/spherical_equatorial_custom_point_with_wrong_units.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/geometry/test/point_concept/spherical_equatorial_custom_point_with_wrong_units.cpp')
-rw-r--r--libs/geometry/test/point_concept/spherical_equatorial_custom_point_with_wrong_units.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/libs/geometry/test/point_concept/spherical_equatorial_custom_point_with_wrong_units.cpp b/libs/geometry/test/point_concept/spherical_equatorial_custom_point_with_wrong_units.cpp
new file mode 100644
index 000000000..f5c5bb573
--- /dev/null
+++ b/libs/geometry/test/point_concept/spherical_equatorial_custom_point_with_wrong_units.cpp
@@ -0,0 +1,28 @@
+// Boost.Geometry (aka GGL, Generic Geometry Library)
+// Unit Test
+
+// Copyright (c) 2014, Oracle and/or its affiliates.
+
+// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
+
+// Licensed under the Boost Software License version 1.0.
+// http://www.boost.org/users/license.html
+
+#include <test_geometries/custom_lon_lat_point.hpp>
+
+#include <boost/geometry/core/cs.hpp>
+#include <boost/geometry/geometries/concepts/check.hpp>
+
+
+namespace bg = boost::geometry;
+
+
+int main()
+{
+ bg::concept::check
+ <
+ rw_lon_lat_point<double, bg::cs::spherical_equatorial<double> >
+ >();
+
+ return 0;
+}