[geos-commits] r3269 - trunk/tests/xmltester/tests

svn_geos at osgeo.org svn_geos at osgeo.org
Fri Mar 11 09:24:51 EST 2011


Author: strk
Date: 2011-03-11 06:24:51 -0800 (Fri, 11 Mar 2011)
New Revision: 3269

Added:
   trunk/tests/xmltester/tests/bug398.xml
Log:
Add XML test for bug398 (not automatically run, as it fails)

Added: trunk/tests/xmltester/tests/bug398.xml
===================================================================
--- trunk/tests/xmltester/tests/bug398.xml	                        (rev 0)
+++ trunk/tests/xmltester/tests/bug398.xml	2011-03-11 14:24:51 UTC (rev 3269)
@@ -0,0 +1,51 @@
+<run>
+  <desc>
+http://trac.osgeo.org/geos/ticket/398
+  </desc>
+  <precisionModel type="FLOATING" />
+
+<case>
+  <desc><![CDATA[
+http://trac.osgeo.org/geos/ticket/398
+Assertion `shellCount <= 1' failed.
+  ]]></desc>
+  <a>
+MULTIPOLYGON (((60.0 6.5105151320986412,
+44.0044859469790026 11.6931320480208569, 0.0 25.9507790663861222,
+0.0 26.8608278557796467, 0.0 29.8387923019253307, 60.0 10.3985283676378408,
+60.0 7.8021345594223774, 60.0000000000000000 6.6570998796460161, 60.0
+6.5105151320986412)), ((43.3161197496508308 0.0,
+0.0 0.0, 0.0 14.0346133423735822, 0.0 17.9226661292310787,
+0.0 21.5874865260243638, 34.0258524396557860
+6.8981402622972743, 55.3161197496508308 0.0,
+50.0044466166182886 0.0, 43.3161197496508308
+0.0)), ((13.4455725323347899 36.0,
+60.0 36.0, 60.0 16.7944518298098018, 60.0 16.3644011555093201,
+60.0 14.0439960304547569, 2.9187843276549756
+36.0, 11.8945390820010992 36.0, 13.4455725323347899 36.0)))
+  </a>
+  <b>
+POLYGON ((50.0044466166182886 0.0,
+0.0 21.5874865260243638, 0.0
+35.7392139719321804, 60.0 13.1838946818537934,
+60.0 0.0, 50.0044466166182886 0.0))
+  </b>
+<test>
+ <op name="union" arg1="A" arg2="B">
+MULTIPOLYGON (
+((0 25.950779066386122, 0 26.860827855779647, 0 29.83879230192533,
+0 35.73921397193218, 60 13.183894681853793, 60 10.39852836763784,
+60 7.802134559422377, 60 6.657099879646016, 60 6.510515132098641,
+60 0, 55.31611974965083 0, 50.00444661661829 0, 43.31611974965083 0,
+0 0, 0 14.034613342373582, 0 17.92266612923108, 0 21.587486526024364,
+0 25.950779066386122),
+(0 21.587486526024364, 34.025852439655786 6.898140262297274,
+34.02585243965579 6.898140262297273, 0 21.587486526024364)),
+((13.44557253233479 36, 60 36, 60 16.794451829809802,
+60 16.36440115550932, 60 14.043996030454757, 2.9187843276549756 36,
+11.8945390820011 36, 13.44557253233479 36)))
+ </op>
+</test>
+</case>
+
+</run>



More information about the geos-commits mailing list