Skip to content

Commit

Permalink
Add TestRelatePA.xml test
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-jts committed Nov 9, 2023
1 parent ea9f2bf commit 7afe475
Showing 1 changed file with 26 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
</case>

<case>
<desc>mPA - empty Point element</desc>
<desc>mPA - empty MultiPoint element</desc>
<a>
MULTIPOINT(EMPTY,(0 0))
</a>
Expand All @@ -125,4 +125,29 @@
<test><op name="within" arg1="A" arg2="B"> true </op></test>
</case>

<case>
<desc>PmA - empty MultiPolygon element</desc>
<a>
POINT(0 0)
</a>
<b>
MULTIPOLYGON (EMPTY, ((1 0,0 1,-1 0,0 -1, 1 0)))
</b>
<test>
<op name="relate" arg3="0FFFFF212" arg1="A" arg2="B">
true
</op>
</test>
<test><op name="contains" arg1="A" arg2="B"> false </op></test>
<test><op name="coveredBy" arg1="A" arg2="B"> true </op></test>
<test><op name="covers" arg1="A" arg2="B"> false </op></test>
<test><op name="crosses" arg1="A" arg2="B"> false </op></test>
<test><op name="disjoint" arg1="A" arg2="B"> false </op></test>
<test><op name="equalsTopo" arg1="A" arg2="B"> false </op></test>
<test><op name="intersects" arg1="A" arg2="B"> true </op></test>
<test><op name="overlaps" arg1="A" arg2="B"> false </op></test>
<test><op name="touches" arg1="A" arg2="B"> false </op></test>
<test><op name="within" arg1="A" arg2="B"> true </op></test>
</case>

</run>

0 comments on commit 7afe475

Please sign in to comment.