Skip to content

Commit

Permalink
[test] add issue
Browse files Browse the repository at this point in the history
  • Loading branch information
barendgehrels committed May 10, 2023
1 parent a8bd9a0 commit 3e4f6d4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/algorithms/overlay/overlay_cases.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,12 @@ static std::string issue_1108[2] =
"POLYGON((22 1,22 0,14 0,18 -1.2696790939262529996,12 0,22 1))"
};

static std::string issue_1145[2] =
{
"POLYGON((7.5 4.5,2.5 4.5,0 0,0 10,10 10,10 0,7.5 4.5),(6.9444446563720703 5.5,5 9,3.0555555820465088 5.5,6.9444446563720703 5.5))",
"POLYGON((3.3333332538604736 6,6.6666665077209473 6,6.9444441795349121 5.5,3.0555555820465088 5.5,3.3333332538604736 6))"
};

static std::string ggl_list_20120229_volker[3] =
{
"POLYGON((1716 1554,2076 2250,2436 2352,2796 1248,3156 2484,3516 2688,3516 2688,3156 2484,2796 1248,2436 2352,2076 2250, 1716 1554))",
Expand Down
3 changes: 3 additions & 0 deletions test/algorithms/set_operations/union/union.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,9 @@ void test_areal()
TEST_UNION(issue_1108, 1, 0, -1, 12.1742);
TEST_UNION_REV(issue_1108, 1, 0, -1, 12.1742);

TEST_UNION(issue_1145, 1, 1, -1, 61.25);
TEST_UNION_REV(issue_1145, 1, 1, -1, 61.25);

{
// Rescaling produces an invalid result
ut_settings settings;
Expand Down

0 comments on commit 3e4f6d4

Please sign in to comment.