Skip to content

Commit

Permalink
add unit test for issue AngusJohnson#873
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsSkibaModuleWorks committed Jul 18, 2024
1 parent 736ddb0 commit 60075ae
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CPP/Tests/TestOffsets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -658,3 +658,18 @@ TEST(Clipper2Tests, TestOffsets10) // see #715
EXPECT_EQ(solution.size(), 2);
}

TEST(Clipper2Tests, DISABLED_TestOffsets11) // see #873
{
Clipper2Lib::ClipperOffset offset;
Clipper2Lib::Paths64 closedPaths = {{
{667680768, -36382704},
{737202688, -87034880},
{742581888, -86055680},
{747603968, -84684800}}};

Clipper2Lib::Paths64 solution;
offset.AddPaths(closedPaths, Clipper2Lib::JoinType::Miter, Clipper2Lib::EndType::Polygon);
offset.Execute(-249561088, solution);

EXPECT_TRUE(solution.empty());
}

0 comments on commit 60075ae

Please sign in to comment.