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

svn_geos at osgeo.org svn_geos at osgeo.org
Wed Sep 30 15:07:29 EDT 2009


Author: strk
Date: 2009-09-30 15:07:29 -0400 (Wed, 30 Sep 2009)
New Revision: 2638

Modified:
   trunk/tests/xmltester/tests/singlesidedbuffer.xml
Log:
Another simple test for a vertical line, opposite direction from previous


Modified: trunk/tests/xmltester/tests/singlesidedbuffer.xml
===================================================================
--- trunk/tests/xmltester/tests/singlesidedbuffer.xml	2009-09-30 19:05:51 UTC (rev 2637)
+++ trunk/tests/xmltester/tests/singlesidedbuffer.xml	2009-09-30 19:07:29 UTC (rev 2638)
@@ -2,7 +2,7 @@
   <!--precisionModel scale="1.0" offsetx="0.0" offsety="0.0"/-->
   <precisionModel type="FLOATING" />
 
-<case><desc>Single-sided buffer on vertical line</desc>
+<case><desc>Single-sided buffer on vertical line (down-up)</desc>
 <a>
 LINESTRING (0 10, 0 20)
 </a>
@@ -18,6 +18,22 @@
 </test>
 </case>
 
+<case><desc>Single-sided buffer on vertical line (up-down)</desc>
+<a>
+LINESTRING (0 20, 0 10)
+</a>
+<test>
+<op name="buffersinglesided" arg1="a" arg2="3" arg3="4" arg4="right">
+MULTILINESTRING ((-3 10, -3 20))
+</op>
+</test>
+<test>
+<op name="buffersinglesided" arg1="a" arg2="3" arg3="4" arg4="left">
+MULTILINESTRING ((3 10, 3 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