[geos-commits] [SCM] GEOS branch main updated. 243b13831a5e8ddc6c3b80822b09452e22c51243
git at osgeo.org
git at osgeo.org
Mon Apr 13 05:22:08 PDT 2026
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 has been updated
via 243b13831a5e8ddc6c3b80822b09452e22c51243 (commit)
from 255aa2f7ba360b6eaebd6b23ed73cfe9504d5acd (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 243b13831a5e8ddc6c3b80822b09452e22c51243
Author: Sandro Santilli <strk at kbt.io>
Date: Mon Apr 13 14:21:27 2026 +0200
More ensure_equals corrections to report proper actual / expected
diff --git a/tests/unit/algorithm/CGAlgorithms/OrientationIsCCWTest.cpp b/tests/unit/algorithm/CGAlgorithms/OrientationIsCCWTest.cpp
index 5dddfac2f..6c0dae230 100644
--- a/tests/unit/algorithm/CGAlgorithms/OrientationIsCCWTest.cpp
+++ b/tests/unit/algorithm/CGAlgorithms/OrientationIsCCWTest.cpp
@@ -55,7 +55,7 @@ struct test_isccw_data {
ensure("WKT must be POLYGON)", poly != nullptr);
const geos::geom::CoordinateSequence* cs = poly->getExteriorRing()->getCoordinatesRO();
bool actualCCWArea = Orientation::isCCWArea(cs);
- ensure_equals("CoordinateSequence isCCWArea", expectedCCWArea, actualCCWArea);
+ ensure_equals("CoordinateSequence isCCWArea", actualCCWArea, expectedCCWArea);
}
void
@@ -64,7 +64,7 @@ struct test_isccw_data {
GeometryPtr geom(breader_.readHEX(wkt));
auto cs = geom->getCoordinates();
bool actualCCW = Orientation::isCCW(cs.get());
- ensure_equals("CoordinateSequence isCCW", expectedCCW, actualCCW);
+ ensure_equals("CoordinateSequence isCCW", actualCCW, expectedCCW);
}
};
-----------------------------------------------------------------------
Summary of changes:
tests/unit/algorithm/CGAlgorithms/OrientationIsCCWTest.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list