Skip to content

Commit

Permalink
Add original test geometries
Browse files Browse the repository at this point in the history
  • Loading branch information
pramsey committed Nov 30, 2023
1 parent 40bb2f3 commit 061a048
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/unit/algorithm/construct/LargestEmptyCircleTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,4 +330,16 @@ void object::test<20>()
}


// 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

0 comments on commit 061a048

Please sign in to comment.