[geos-commits] r4136 - trunk/tests/xmltester
svn_geos at osgeo.org
svn_geos at osgeo.org
Fri Dec 18 09:15:09 PST 2015
Author: strk
Date: 2015-12-18 09:15:09 -0800 (Fri, 18 Dec 2015)
New Revision: 4136
Modified:
trunk/tests/xmltester/XMLTester.cpp
Log:
Add support for "relatestring" test operation
Modified: trunk/tests/xmltester/XMLTester.cpp
===================================================================
--- trunk/tests/xmltester/XMLTester.cpp 2015-12-17 05:41:48 UTC (rev 4135)
+++ trunk/tests/xmltester/XMLTester.cpp 2015-12-18 17:15:09 UTC (rev 4136)
@@ -768,7 +768,16 @@
if (actual_result==opRes) success=1;
}
+ else if (opName=="relatestring")
+ {
+ std::auto_ptr<geom::IntersectionMatrix> im(gA->relate(gB));
+ assert(im.get());
+ actual_result=im->toString();
+
+ if (actual_result==opRes) success=1;
+ }
+
else if (opName=="isvalid")
{
geom::Geometry *gT=gA;
More information about the geos-commits
mailing list