[geos-commits] [SCM] GEOS branch main updated. 8490abb9d831c00b4b51b162ea1b9004c6fa6c64
git at osgeo.org
git at osgeo.org
Tue Aug 20 11:24:27 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 has been updated
via 8490abb9d831c00b4b51b162ea1b9004c6fa6c64 (commit)
from 11c5e77da3147356a010c674c57478fc3c883487 (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 8490abb9d831c00b4b51b162ea1b9004c6fa6c64
Author: Martin Davis <mtnclimb at gmail.com>
Date: Tue Aug 20 11:23:58 2024 -0700
Fix BNR line unit test expected results
diff --git a/tests/unit/operation/relateng/RelateNGBoundaryNodeRuleTest.cpp b/tests/unit/operation/relateng/RelateNGBoundaryNodeRuleTest.cpp
index ec2e029f6..d00716de7 100644
--- a/tests/unit/operation/relateng/RelateNGBoundaryNodeRuleTest.cpp
+++ b/tests/unit/operation/relateng/RelateNGBoundaryNodeRuleTest.cpp
@@ -99,15 +99,14 @@ void object::test<3> ()
// under Mod2, A touch point is not boundary - A.int / B.bdy = 0
runRelate(a, b, BoundaryNodeRule::getBoundaryOGCSFS(), "F01FF0102");
-
// under EndPoint, A has a boundary node - A.bdy / B.bdy = 0
runRelate(a, b, BoundaryNodeRule::getBoundaryEndPoint(), "FF1F00102");
-
+ // under MonoValent, A touch point is not boundary - A.bdy / B.bdy = F and A.int / B.bdy = 0
+ runRelate(a, b, BoundaryNodeRule::getBoundaryMonovalentEndPoint(), "F01FF0102");
// under MultiValent, A has a boundary node but B does not - A.bdy / B.bdy = F and A.bdy / B.int = 0
- runRelate(a, b, BoundaryNodeRule::getBoundaryMonovalentEndPoint(), "FF10FF1F2");
+ runRelate(a, b, BoundaryNodeRule::getBoundaryMultivalentEndPoint(), "FF10FF1F2");
}
-
// testLineRingTouchAtEndpoints
template<>
template<>
@@ -120,8 +119,10 @@ void object::test<4> ()
runRelate(a, b, BoundaryNodeRule::getBoundaryOGCSFS(), "F01FFF102");
// under EndPoint, A has a boundary node - A.bdy / B.bdy = 0
runRelate(a, b, BoundaryNodeRule::getBoundaryEndPoint(), "FF1F0F102");
+ // under MonoValent, A has no boundary node but B does - A.bdy / B.bdy = F and A.int / B.bdy = 0
+ runRelate(a, b, BoundaryNodeRule::getBoundaryMonovalentEndPoint(), "F01FFF102");
// under MultiValent, A has a boundary node but B does not - A.bdy / B.bdy = F and A.int
- runRelate(a, b, BoundaryNodeRule::getBoundaryMonovalentEndPoint(), "FF10FF1F2");
+ runRelate(a, b, BoundaryNodeRule::getBoundaryMultivalentEndPoint(), "FF10FF1F2");
}
// testLineRingTouchAtEndpointAndInterior
-----------------------------------------------------------------------
Summary of changes:
.../unit/operation/relateng/RelateNGBoundaryNodeRuleTest.cpp | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list