[geos-commits] r3199 - trunk/tests/unit/operation/union

svn_geos at osgeo.org svn_geos at osgeo.org
Thu Feb 10 16:05:23 EST 2011


Author: strk
Date: 2011-02-10 13:05:23 -0800 (Thu, 10 Feb 2011)
New Revision: 3199

Modified:
   trunk/tests/unit/operation/union/UnaryUnionOpTest.cpp
Log:
Add test exposing the std::copy bug of two commits ago

Modified: trunk/tests/unit/operation/union/UnaryUnionOpTest.cpp
===================================================================
--- trunk/tests/unit/operation/union/UnaryUnionOpTest.cpp	2011-02-10 21:05:16 UTC (rev 3198)
+++ trunk/tests/unit/operation/union/UnaryUnionOpTest.cpp	2011-02-10 21:05:23 UTC (rev 3199)
@@ -151,5 +151,21 @@
 
     }
 
+    template<>
+    template<>
+    void object::test<5>()
+    {
+        static char const* const geoms[] = 
+        {
+            "LINESTRING (40 60, 120 110)",
+            "POINT (120 110)",
+            "POINT (40 60)",
+            "POINT (100 70)",
+            "POINT (80 50)",
+            NULL
+        };
+        doTest(geoms, "GEOMETRYCOLLECTION (POINT (80 50), POINT (100 70), LINESTRING (40 60, 120 110))");
+    }
+
 } // namespace tut
 



More information about the geos-commits mailing list