(bool test_polytree = false)
| 56 | |
| 57 | |
| 58 | public static void SquaresTest(bool test_polytree = false) |
| 59 | { |
| 60 | Path64 shape = Clipper.MakePath(new int[] { 0, 0, 10, 0, 10, 10, 0, 10 }); |
| 61 | Paths64 subjects = FillImageWithShape(shape, 5); |
| 62 | Paths64 solution; |
| 63 | if (test_polytree) |
| 64 | solution = Polytree_Union(subjects, FillRule.NonZero); |
| 65 | else |
| 66 | solution = Clipper.Union(subjects, FillRule.NonZero); |
| 67 | DisplayAsSvgImage("Squares", FillRule.NonZero, subjects, null, solution); |
| 68 | } |
| 69 | |
| 70 | public static void TrianglesTest(bool test_polytree = false) |
| 71 | { |
nothing calls this directly
no test coverage detected