[geos-commits] r3287 - trunk/tests/unit/operation/distance

svn_geos at osgeo.org svn_geos at osgeo.org
Mon Apr 18 17:45:20 EDT 2011


Author: strk
Date: 2011-04-18 14:45:20 -0700 (Mon, 18 Apr 2011)
New Revision: 3287

Modified:
   trunk/tests/unit/operation/distance/DistanceOpTest.cpp
Log:
Add the actual ->distance() call to the test for bug #367

Modified: trunk/tests/unit/operation/distance/DistanceOpTest.cpp
===================================================================
--- trunk/tests/unit/operation/distance/DistanceOpTest.cpp	2011-04-18 21:28:55 UTC (rev 3286)
+++ trunk/tests/unit/operation/distance/DistanceOpTest.cpp	2011-04-18 21:45:20 UTC (rev 3287)
@@ -475,6 +475,8 @@
         GeomPtr g2(wkb.readHEX(istr2));
         ensure(g1->isValid());
         ensure(g2->isValid());
+
+        ensure_equals(g1->distance(g2.get()), 0);
     }
 
 	// TODO: finish the tests by adding:



More information about the geos-commits mailing list