[geos-commits] r3335 - in trunk/tests/xmltester: . tests/ticket
svn_geos at osgeo.org
svn_geos at osgeo.org
Mon May 9 07:57:28 EDT 2011
Author: strk
Date: 2011-05-09 04:57:28 -0700 (Mon, 09 May 2011)
New Revision: 3335
Modified:
trunk/tests/xmltester/Makefile.am
trunk/tests/xmltester/tests/ticket/bug350.xml
Log:
Automate test for bug350, change the expected result to match the one obtained by GEOS. It is not _exactly_ the same output obtained with JTS but close enough. Unfortunately both GEOS and JTS use an exact match for comparison so we won't be able to share this test.
Modified: trunk/tests/xmltester/Makefile.am
===================================================================
--- trunk/tests/xmltester/Makefile.am 2011-05-09 11:57:20 UTC (rev 3334)
+++ trunk/tests/xmltester/Makefile.am 2011-05-09 11:57:28 UTC (rev 3335)
@@ -25,6 +25,7 @@
$(srcdir)/tests/ticket/bug188.xml \
$(srcdir)/tests/ticket/bug244.xml \
$(srcdir)/tests/ticket/bug275.xml \
+ $(srcdir)/tests/ticket/bug350.xml \
$(srcdir)/tests/ticket/bug356.xml \
$(srcdir)/tests/ticket/bug358.xml \
$(srcdir)/tests/ticket/bug360.xml \
Modified: trunk/tests/xmltester/tests/ticket/bug350.xml
===================================================================
--- trunk/tests/xmltester/tests/ticket/bug350.xml 2011-05-09 11:57:20 UTC (rev 3334)
+++ trunk/tests/xmltester/tests/ticket/bug350.xml 2011-05-09 11:57:28 UTC (rev 3335)
@@ -16,13 +16,13 @@
<test>
<op name="union" arg1="A" arg2="B">
-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))
+01030000000100000008000000000000005C3613C1000000000028A540DA99ABC02AAD13C16A7D3017E0F58940477F50A83BA313C12242DCE0BE81B2C0EF2CF4FC0ED315C1F4792E801F82B6C029062D840ECE15C161DDB50E8D6BD140203301B73FCE13C14FB2744AB1EBD240DA99ABC02AAD13C16B7D3017E0F58940000000005C3613C1000000000028A540
</op>
</test>
<test>
<op name="difference" arg1="A" arg2="B">
-POLYGON ((-314775 2708, -322378.6881546058 830.7344192302963, -322378.6881546058 830.7344192302967, -314775 2708))
+01030000000100000004000000DA99ABC02AAD13C16A7D3017E0F58940DA99ABC02AAD13C16B7D3017E0F58940000000005C3613C1000000000028A540DA99ABC02AAD13C16A7D3017E0F58940
</op>
</test>
@@ -34,15 +34,15 @@
Pre-snapped version of the data.
</desc>
<a>
-00000000030000000100000007C0E9B2E00000000040A5280000000000C0F2348000000000C0A5280000000000C0F4FEA00000000040D0A6C000000000C0F2D18EF49046604099967CEBC42DB8C0F1A39D1B9D7B28408A4A5B0E2E4620C0F12CFE13FCECC8C09A0C592D5B7BC7C0E9B2E00000000040A5280000000000
+0103000000010000000700000000000000E0B2E9C0000000000028A540000000008034F2C0000000000028A5C000000000A0FEF4C000000000C0A6D040604690F48ED1F2C0B82DC4EB7C969940287B9D1B9DA3F1C020462E0E5B4A8A40C8ECFC13FE2CF1C0C77B5B2D590C9AC000000000E0B2E9C0000000000028A540
</a>
<b>
-00000000030000000100000005C0F74C3BF3D0B3BCC0B6821F802E79F4C0ED19DD4283FA38C0B281BEE0DC4222C0EE71FDB809990040D2EBB14A74B24FC0F7383A10B418A440D16B8D0EB5DD61C0F74C3BF3D0B3BCC0B6821F802E79F4
+01030000000100000005000000BCB3D0F33B4CF7C0F4792E801F82B6C038FA8342DD19EDC02242DCE0BE81B2C0009909B8FD71EEC04FB2744AB1EBD240A418B4103A38F7C061DDB50E8D6BD140BCB3D0F33B4CF7C0F4792E801F82B6C0
</b>
<test>
<op name="union" arg1="A" arg2="B">
-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))
+0103000000010000000800000000000000E0B2E9C0000000000028A540CFCE5C055669EDC06A7D3017E0F5894038FA8342DD19EDC02242DCE0BE81B2C0BCB3D0F33B4CF7C0F4792E801F82B6C0A418B4103A38F7C061DDB50E8D6BD140009909B8FD71EEC04FB2744AB1EBD240CFCE5C055669EDC06B7D3017E0F5894000000000E0B2E9C0000000000028A540
</op>
</test>
</case>
More information about the geos-commits
mailing list