[geos-commits] [SCM] GEOS branch main updated. 832251bbd413fb06688bb9e3f52184f535edb228

git at osgeo.org git at osgeo.org
Tue Aug 20 15:35:57 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  832251bbd413fb06688bb9e3f52184f535edb228 (commit)
      from  f3d2096ff11494f60a07aa7d0c44a722f3709d04 (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 832251bbd413fb06688bb9e3f52184f535edb228
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Aug 20 15:35:25 2024 -0700

    Add another test for GH-1148

diff --git a/tests/unit/operation/relateng/RelateNGGCTest.cpp b/tests/unit/operation/relateng/RelateNGGCTest.cpp
index f9b972096..ef9152d6d 100644
--- a/tests/unit/operation/relateng/RelateNGGCTest.cpp
+++ b/tests/unit/operation/relateng/RelateNGGCTest.cpp
@@ -334,4 +334,14 @@ void object::test<24> ()
 }
 
 
+template<>
+template<>
+void object::test<25> ()
+{
+    std::string a = "POLYGON ((0 0, 0 10, 10 10, 10 0, 0 0))";
+    std::string b = "GEOMETRYCOLLECTION (POLYGON((0 0, 10 0, 10 10, 0 10, 0 0)),LINESTRING(0 2, 0 5, 5 5))";
+    checkEquals(a, b, true);
+}
+
+
 } // namespace tut

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

Summary of changes:
 tests/unit/operation/relateng/RelateNGGCTest.cpp | 10 ++++++++++
 1 file changed, 10 insertions(+)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list