[geos-commits] [SCM] GEOS branch main updated. 8fac1b5daeb3d95c9d526d915ff4d8ddcd147a2d

git at osgeo.org git at osgeo.org
Thu Dec 7 13:46:34 PST 2023


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  8fac1b5daeb3d95c9d526d915ff4d8ddcd147a2d (commit)
      from  1d1ad6b21ff6696337189054b3a323b878a4430f (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 8fac1b5daeb3d95c9d526d915ff4d8ddcd147a2d
Author: Martin Davis <mtnclimb at gmail.com>
Date:   Thu Dec 7 13:46:09 2023 -0800

    Add XML unit test for GeometryCollections

diff --git a/tests/xmltester/tests/general/TestRelateGC.xml b/tests/xmltester/tests/general/TestRelateGC.xml
new file mode 100644
index 000000000..5f7869909
--- /dev/null
+++ b/tests/xmltester/tests/general/TestRelateGC.xml
@@ -0,0 +1,24 @@
+<run>
+
+<case>
+  <desc>A/GC-mP</desc>
+  <a>
+    POLYGON((-60 -50,-70 -50,-60 -40,-60 -50))
+  </a>
+  <b>
+    GEOMETRYCOLLECTION(MULTIPOINT((-60 -50),(-63 -49)))
+  </b>
+  <test><op name="relate" arg3="0F20F1FF2" arg1="A" arg2="B"> true </op></test>
+  <test><op name="contains"   arg1="A" arg2="B"> true </op></test>
+  <test><op name="coveredBy"  arg1="A" arg2="B"> false </op></test>
+  <test><op name="covers"     arg1="A" arg2="B"> true </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"> false </op></test>
+</case>
+
+</run>

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

Summary of changes:
 tests/xmltester/tests/general/TestRelateGC.xml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 tests/xmltester/tests/general/TestRelateGC.xml


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list