[geos-commits] r3820 - trunk/tests/unit/capi

svn_geos at osgeo.org svn_geos at osgeo.org
Wed Jun 12 02:57:00 PDT 2013


Author: mloskot
Date: 2013-06-12 02:56:59 -0700 (Wed, 12 Jun 2013)
New Revision: 3820

Modified:
   trunk/tests/unit/capi/GEOSOffsetCurveTest.cpp
Log:
Add comment missing from previous commit.

Modified: trunk/tests/unit/capi/GEOSOffsetCurveTest.cpp
===================================================================
--- trunk/tests/unit/capi/GEOSOffsetCurveTest.cpp	2013-06-12 09:50:24 UTC (rev 3819)
+++ trunk/tests/unit/capi/GEOSOffsetCurveTest.cpp	2013-06-12 09:56:59 UTC (rev 3820)
@@ -210,6 +210,7 @@
         {
             geom2_ = GEOSOffsetCurve(geom1_, width, 8, GEOSBUF_JOIN_MITRE, 5.57);
             ensure( 0 != geom2_ );
+            // likely, 5 >= 5
             ensure(GEOSGeomGetNumPoints(geom2_) >= GEOSGeomGetNumPoints(geom1_));
             wkt_ = GEOSWKTWriter_write(wktw_, geom2_);
             //ensure_equals(std::string(wkt_), ...);
@@ -220,6 +221,7 @@
             width = -width;
             geom2_ = GEOSOffsetCurve(geom1_, width, 8, GEOSBUF_JOIN_MITRE, 5.57);
             ensure( 0 != geom2_ );
+            // likely, 5 >= 7
             ensure(GEOSGeomGetNumPoints(geom2_) >= GEOSGeomGetNumPoints(geom1_));
             wkt_ = GEOSWKTWriter_write(wktw_, geom2_);
             //ensure_equals(std::string(wkt_), ...);



More information about the geos-commits mailing list