[geos-commits] [SCM] GEOS branch 3.12 updated. 564e22f389f2a4cfb38ae7e7ea661146c3fc536c

git at osgeo.org git at osgeo.org
Thu Nov 30 08:53:25 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, 3.12 has been updated
       via  564e22f389f2a4cfb38ae7e7ea661146c3fc536c (commit)
      from  5933bbb68f474738ee092352954681199d2dcea1 (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 564e22f389f2a4cfb38ae7e7ea661146c3fc536c
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Thu Nov 30 08:53:03 2023 -0800

    Add a test to guard against LEC bug GH-1003

diff --git a/tests/unit/algorithm/construct/LargestEmptyCircleTest.cpp b/tests/unit/algorithm/construct/LargestEmptyCircleTest.cpp
index 959beb4a0..790ad37ab 100644
--- a/tests/unit/algorithm/construct/LargestEmptyCircleTest.cpp
+++ b/tests/unit/algorithm/construct/LargestEmptyCircleTest.cpp
@@ -326,4 +326,17 @@ void object::test<15>
         0.01, 4, 6, 3 );
 }
 
+// https://trac.osgeo.org/postgis/ticket/5626
+template<>
+template<>
+void object::test<21>()
+{
+    checkCircle(
+        "POINT(-11.1111111 40)", // input
+        "POLYGON((-71.0821 42.3036,-71.0821 42.3936,-71.0901 42.3036,-71.0821 42.3036))", // boundary
+        1, // test tolerance
+        -71.15, 42.34, 60.19588 ); // expected x, y, radius
+}
+
+
 } // namespace tut

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

Summary of changes:
 tests/unit/algorithm/construct/LargestEmptyCircleTest.cpp | 13 +++++++++++++
 1 file changed, 13 insertions(+)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list