[geos-commits] r3337 - trunk/tests/xmltester/tests/ticket

svn_geos at osgeo.org svn_geos at osgeo.org
Tue May 10 05:50:21 EDT 2011


Author: strk
Date: 2011-05-10 02:50:21 -0700 (Tue, 10 May 2011)
New Revision: 3337

Modified:
   trunk/tests/xmltester/tests/ticket/bug350.xml
   trunk/tests/xmltester/tests/ticket/bug398.xml
Log:
Expect the same results given by JTS

Modified: trunk/tests/xmltester/tests/ticket/bug350.xml
===================================================================
--- trunk/tests/xmltester/tests/ticket/bug350.xml	2011-05-10 09:50:05 UTC (rev 3336)
+++ trunk/tests/xmltester/tests/ticket/bug350.xml	2011-05-10 09:50:21 UTC (rev 3337)
@@ -16,13 +16,13 @@
 
 <test>
  <op name="union" arg1="A" arg2="B">
-01030000000100000008000000000000005C3613C1000000000028A540DA99ABC02AAD13C16A7D3017E0F58940477F50A83BA313C12242DCE0BE81B2C0EF2CF4FC0ED315C1F4792E801F82B6C029062D840ECE15C161DDB50E8D6BD140203301B73FCE13C14FB2744AB1EBD240DA99ABC02AAD13C16B7D3017E0F58940000000005C3613C1000000000028A540
+POLYGON ((-314775 2708, -322378.6881546058 830.7344192302963, -321742.91436957236 -4737.74561859717, -357571.7470252057 -5762.123049645208, -357251.62907800317 17838.204022852125, -324495.928715514 19374.77016942418, -322378.6881546058 830.7344192302967, -314775 2708))
  </op>
 </test>
 
 <test>
  <op name="difference" arg1="A" arg2="B">
-01030000000100000004000000DA99ABC02AAD13C16A7D3017E0F58940DA99ABC02AAD13C16B7D3017E0F58940000000005C3613C1000000000028A540DA99ABC02AAD13C16A7D3017E0F58940
+POLYGON ((-314775 2708, -322378.6881546058 830.7344192302963, -322378.6881546058 830.7344192302967, -314775 2708))
  </op>
 </test>
 
@@ -42,7 +42,7 @@
 
 <test>
  <op name="union" arg1="A" arg2="B">
-0103000000010000000800000000000000E0B2E9C0000000000028A540CFCE5C055669EDC06A7D3017E0F5894038FA8342DD19EDC02242DCE0BE81B2C0BCB3D0F33B4CF7C0F4792E801F82B6C0A418B4103A38F7C061DDB50E8D6BD140009909B8FD71EEC04FB2744AB1EBD240CFCE5C055669EDC06B7D3017E0F5894000000000E0B2E9C0000000000028A540
+POLYGON ((-52631 2708, -60234.68815460579 830.7344192302963, -59598.91436957236 -4737.74561859717, -95427.7470252057 -5762.123049645208, -95107.62907800317 17838.204022852125, -62351.92871551402 19374.77016942418, -60234.68815460579 830.7344192302967, -52631 2708))
  </op>
 </test>
 </case>

Modified: trunk/tests/xmltester/tests/ticket/bug398.xml
===================================================================
--- trunk/tests/xmltester/tests/ticket/bug398.xml	2011-05-10 09:50:05 UTC (rev 3336)
+++ trunk/tests/xmltester/tests/ticket/bug398.xml	2011-05-10 09:50:21 UTC (rev 3337)
@@ -32,15 +32,9 @@
   </b>
 <test>
  <op name="union" arg1="A" arg2="B">
-MULTIPOLYGON (((0.0 0.0, 0.0 14.0346133423735822, 0.0 17.9226661292310787,
-0.0 21.5874865260243638, 0.0 25.9507790663861222, 0.0 26.8608278557796467,
-0.0 29.8387923019253307, 0.0 35.7392139719321804, 60.0 13.1838946818537934,
-60.0 10.3985283676378408, 60.0 7.8021345594223774, 60.0 6.6570998796460161,
-60.0 6.5105151320986412, 60.0 0.0, 55.3161197496508308 0.0,
-50.0044466166182886 0.0, 43.3161197496508308 0.0, 0.0 0.0)),
-((2.9187843276549756 36.0, 11.8945390820010992 36.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)))'
+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>



More information about the geos-commits mailing list