[geos-commits] [SCM] GEOS branch main-relate-ng updated. d921cb620da67ec1fe9a2f071eb9e4e9ed8475a9
git at osgeo.org
git at osgeo.org
Mon Jul 29 09:30:29 PDT 2024
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".
The branch, main-relate-ng has been updated
via d921cb620da67ec1fe9a2f071eb9e4e9ed8475a9 (commit)
from 55a5dc529418b13e666e31d06339d78a52179119 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d921cb620da67ec1fe9a2f071eb9e4e9ed8475a9
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Mon Jul 29 09:30:04 2024 -0700
Better failure logging
diff --git a/tests/unit/operation/relateng/RelateNGTest.cpp b/tests/unit/operation/relateng/RelateNGTest.cpp
index 4f45481db..8706803c9 100644
--- a/tests/unit/operation/relateng/RelateNGTest.cpp
+++ b/tests/unit/operation/relateng/RelateNGTest.cpp
@@ -19,7 +19,7 @@
using namespace geos::geom;
using namespace geos::operation::relateng;
using geos::io::WKTReader;
-// using geos::io::WKTWriter;
+using geos::io::WKTWriter;
namespace tut {
//
@@ -30,7 +30,7 @@ namespace tut {
struct test_relateng_data {
WKTReader r;
- // WKTWriter w;
+ WKTWriter w;
void checkIntersectsDisjoint(const std::string& wkta, const std::string& wktb, bool expectedValue)
{
@@ -100,7 +100,7 @@ struct test_relateng_data {
// TopologyPredicate predTrace = trace(pred);
bool actualVal = RelateNG::relate(a.get(), b.get(), pred);
if (actualVal != expectedValue) {
- std::cerr << *a << " " << pred << " " << *b << " = " << actualVal << std::endl;
+ std::cerr << std::endl << w.write(*a) << " " << pred << " " << w.write(*b) << " = " << actualVal << std::endl;
}
ensure_equals("checkPredicate", actualVal, expectedValue);
}
-----------------------------------------------------------------------
Summary of changes:
tests/unit/operation/relateng/RelateNGTest.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list