[geos-commits] [SCM] GEOS branch main updated. 255aa2f7ba360b6eaebd6b23ed73cfe9504d5acd

git at osgeo.org git at osgeo.org
Mon Apr 13 00:16:31 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  255aa2f7ba360b6eaebd6b23ed73cfe9504d5acd (commit)
      from  46033aa6758b0564a165282e0a39b5d8944a71d8 (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 255aa2f7ba360b6eaebd6b23ed73cfe9504d5acd
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon Apr 13 09:15:33 2026 +0200

    Fix ensure_equals to correcly report actual vs. expected

diff --git a/tests/unit/algorithm/CGAlgorithms/OrientationIsCCWTest.cpp b/tests/unit/algorithm/CGAlgorithms/OrientationIsCCWTest.cpp
index ec8551eaf..5dddfac2f 100644
--- a/tests/unit/algorithm/CGAlgorithms/OrientationIsCCWTest.cpp
+++ b/tests/unit/algorithm/CGAlgorithms/OrientationIsCCWTest.cpp
@@ -45,7 +45,7 @@ struct test_isccw_data {
         ensure("WKT must be POLYGON)", poly != nullptr);
         const geos::geom::CoordinateSequence* cs = poly->getExteriorRing()->getCoordinatesRO();
         bool actualCCW = Orientation::isCCW(cs);
-        ensure_equals("CoordinateSequence isCCW", expectedCCW, actualCCW);
+        ensure_equals("CoordinateSequence isCCW", actualCCW, expectedCCW);
     }
 
     void

-----------------------------------------------------------------------

Summary of changes:
 tests/unit/algorithm/CGAlgorithms/OrientationIsCCWTest.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list