| 2 | #include <gtest/gtest.h> |
| 3 | using namespace Clipper2Lib; |
| 4 | TEST(Clipper2Tests, TestSimplifyPath) { |
| 5 | Path64 input1 = MakePath({ |
| 6 | 0,0, 1,1, 0,20, 0,21, 1,40, 0,41, 0,60, 0,61, 0,80, 1,81, 0,100 |
| 7 | }); |
| 8 | Path64 output1 = SimplifyPath(input1, 2, false); |
| 9 | EXPECT_EQ(Length(output1), 100); |
| 10 | EXPECT_EQ(output1.size(), 2); |
| 11 | } |
nothing calls this directly
no test coverage detected