Skip to content

Commit 255aa2f

Browse files
committed
Fix ensure_equals to correcly report actual vs. expected
1 parent 46033aa commit 255aa2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/algorithm/CGAlgorithms/OrientationIsCCWTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ struct test_isccw_data {
4545
ensure("WKT must be POLYGON)", poly != nullptr);
4646
const geos::geom::CoordinateSequence* cs = poly->getExteriorRing()->getCoordinatesRO();
4747
bool actualCCW = Orientation::isCCW(cs);
48-
ensure_equals("CoordinateSequence isCCW", expectedCCW, actualCCW);
48+
ensure_equals("CoordinateSequence isCCW", actualCCW, expectedCCW);
4949
}
5050

5151
void

0 commit comments

Comments
 (0)