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

svn_geos at osgeo.org svn_geos at osgeo.org
Thu Jul 11 08:54:20 PDT 2013


Author: strk
Date: 2013-07-11 08:54:20 -0700 (Thu, 11 Jul 2013)
New Revision: 3836

Modified:
   trunk/tests/unit/capi/GEOSOffsetCurveTest.cpp
Log:
Drop carriage returns

Modified: trunk/tests/unit/capi/GEOSOffsetCurveTest.cpp
===================================================================
--- trunk/tests/unit/capi/GEOSOffsetCurveTest.cpp	2013-07-11 15:34:43 UTC (rev 3835)
+++ trunk/tests/unit/capi/GEOSOffsetCurveTest.cpp	2013-07-11 15:54:20 UTC (rev 3836)
@@ -194,21 +194,21 @@
     template<>
     void object::test<7>()
     {
-        std::string wkt0("LINESTRING ("
-            "665.7317504882812500 133.0762634277343700,"
-            "1774.4752197265625000 19.9391822814941410,"
-            "756.2413940429687500 466.8306579589843700,"
-            "626.1337890625000000 1898.0147705078125000,"
-            "433.8007202148437500 404.6052856445312500)");
+        std::string wkt0("LINESTRING ("
+            "665.7317504882812500 133.0762634277343700,"
+            "1774.4752197265625000 19.9391822814941410,"
+            "756.2413940429687500 466.8306579589843700,"
+            "626.1337890625000000 1898.0147705078125000,"
+            "433.8007202148437500 404.6052856445312500)");
         
         geom1_ = GEOSGeomFromWKT(wkt0.c_str());
-        ensure( 0 != geom1_ );
-
-        double width = 57.164000837203;
-
-        // left-sided
-        {
-            geom2_ = GEOSOffsetCurve(geom1_, width, 8, GEOSBUF_JOIN_MITRE, 5.57);
+        ensure( 0 != geom1_ );
+
+        double width = 57.164000837203;
+
+        // left-sided
+        {
+            geom2_ = GEOSOffsetCurve(geom1_, width, 8, GEOSBUF_JOIN_MITRE, 5.57);
             ensure( 0 != geom2_ );
             // likely, 5 >= 5
             ensure(GEOSGeomGetNumPoints(geom2_) >= GEOSGeomGetNumPoints(geom1_));
@@ -216,10 +216,10 @@
             //ensure_equals(std::string(wkt_), ...);
         }
 
-        // right-sided
-        {
-            width = -width;
-            geom2_ = GEOSOffsetCurve(geom1_, width, 8, GEOSBUF_JOIN_MITRE, 5.57);
+        // right-sided
+        {
+            width = -width;
+            geom2_ = GEOSOffsetCurve(geom1_, width, 8, GEOSBUF_JOIN_MITRE, 5.57);
             ensure( 0 != geom2_ );
             // likely, 5 >= 7
             ensure(GEOSGeomGetNumPoints(geom2_) >= GEOSGeomGetNumPoints(geom1_));



More information about the geos-commits mailing list