[geos-commits] r3533 - branches/3.3/tests/xmltester/tests/general

svn_geos at osgeo.org svn_geos at osgeo.org
Fri Dec 9 03:47:27 EST 2011


Author: strk
Date: 2011-12-09 00:47:27 -0800 (Fri, 09 Dec 2011)
New Revision: 3533

Added:
   branches/3.3/tests/xmltester/tests/general/TestUnaryUnionFloating.xml
Log:
Oops, forgot this one in previous commit

Added: branches/3.3/tests/xmltester/tests/general/TestUnaryUnionFloating.xml
===================================================================
--- branches/3.3/tests/xmltester/tests/general/TestUnaryUnionFloating.xml	                        (rev 0)
+++ branches/3.3/tests/xmltester/tests/general/TestUnaryUnionFloating.xml	2011-12-09 08:47:27 UTC (rev 3533)
@@ -0,0 +1,20 @@
+<run>
+  <desc>Tests for Geometry.union() method (unary union) with floating precision</desc>
+
+<case>
+  <desc>mP - showing that non-polygonal components are discarded correctly</desc>
+  <a>
+  GEOMETRYCOLLECTION (
+    POLYGON ((-3 -2, 700 900, -6 900, -3 -2)),
+    POLYGON((700 900, -1.6859349853697 899.55, 0.3 -0.4, 700 900)),
+    POLYGON ((700 860, 700 899.5, -1.68593498537 899.55, 700 860))
+    )
+  </a>
+<test>
+  <op name="union" arg1="A">
+    POLYGON ((0.2942036115049298 2.226702215615205, -3 -2, -6 900, 700 900, 699.6114719806972 899.5000276853219, 700 899.5, 700 860, 670.2204017222961 861.6785046602191, 0.3 -0.4, 0.2942036115049298 2.226702215615205))
+  </op>
+</test>
+</case>
+
+</run>



More information about the geos-commits mailing list