[geos-commits] r2637 - trunk/tests/xmltester/tests
svn_geos at osgeo.org
svn_geos at osgeo.org
Wed Sep 30 15:05:52 EDT 2009
Author: strk
Date: 2009-09-30 15:05:51 -0400 (Wed, 30 Sep 2009)
New Revision: 2637
Modified:
trunk/tests/xmltester/tests/singlesidedbuffer.xml
Log:
Add test for single sided buffer on simple, vertical, line (this one succeeds both left and right)
Modified: trunk/tests/xmltester/tests/singlesidedbuffer.xml
===================================================================
--- trunk/tests/xmltester/tests/singlesidedbuffer.xml 2009-09-30 18:57:40 UTC (rev 2636)
+++ trunk/tests/xmltester/tests/singlesidedbuffer.xml 2009-09-30 19:05:51 UTC (rev 2637)
@@ -1,6 +1,23 @@
<run>
<!--precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/-->
<precisionModel type="FLOATING" />
+
+<case><desc>Single-sided buffer on vertical line</desc>
+<a>
+LINESTRING (0 10, 0 20)
+</a>
+<test>
+<op name="buffersinglesided" arg1="a" arg2="2" arg3="4" arg4="right">
+MULTILINESTRING ((2 10, 2 20))
+</op>
+</test>
+<test>
+<op name="buffersinglesided" arg1="a" arg2="2" arg3="4" arg4="left">
+MULTILINESTRING ((-2 10, -2 20))
+</op>
+</test>
+</case>
+
<case><desc>Single-sided buffers</desc>
<a>
LINESTRING (5 5,1 1,1.5 3)
More information about the geos-commits
mailing list