diff --git a/modules/core/src/test/java/org/locationtech/jts/operation/relateng/RelateNGBoundaryNodeRuleTest.java b/modules/core/src/test/java/org/locationtech/jts/operation/relateng/RelateNGBoundaryNodeRuleTest.java index d96359bcb7..f52521d4ac 100644 --- a/modules/core/src/test/java/org/locationtech/jts/operation/relateng/RelateNGBoundaryNodeRuleTest.java +++ b/modules/core/src/test/java/org/locationtech/jts/operation/relateng/RelateNGBoundaryNodeRuleTest.java @@ -62,12 +62,12 @@ public void testMultiLineStringTouchAtEndpoint() String a = "MULTILINESTRING ((0 0, 10 10), (10 10, 20 20))"; String b = "LINESTRING (10 10, 20 0)"; - // under Mod2, A has no boundary - A.int / B.bdy = 0 -// runRelateTest(a, b, BoundaryNodeRule.OGC_SFS_BOUNDARY_RULE, "F01FFF102" ); + // under Mod2, A touch point is not boundary - A.int / B.bdy = 0 + runRelate(a, b, BoundaryNodeRule.OGC_SFS_BOUNDARY_RULE, "F01FF0102" ); // under EndPoint, A has a boundary node - A.bdy / B.bdy = 0 runRelate(a, b, BoundaryNodeRule.ENDPOINT_BOUNDARY_RULE, "FF1F00102" ); - // under MultiValent, A has a boundary node but B does not - A.bdy / B.bdy = F and A.int -// runRelateTest(a, b, BoundaryNodeRule.MULTIVALENT_ENDPOINT_BOUNDARY_RULE, "0F1FFF1F2" ); + // 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.MULTIVALENT_ENDPOINT_BOUNDARY_RULE, "FF10FF1F2" ); } public void testLineRingTouchAtEndpoints() @@ -79,7 +79,7 @@ public void testLineRingTouchAtEndpoints() runRelate(a, b, BoundaryNodeRule.OGC_SFS_BOUNDARY_RULE, "F01FFF102" ); // under EndPoint, A has a boundary node - A.bdy / B.bdy = 0 runRelate(a, b, BoundaryNodeRule.ENDPOINT_BOUNDARY_RULE, "FF1F0F102" ); - // under MultiValent, A has a boundary node but B does not - A.bdy / B.bdy = F and A.int + // 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.MULTIVALENT_ENDPOINT_BOUNDARY_RULE, "FF10FF1F2" ); }