diff --git a/test/tests/Path_Boolean.js b/test/tests/Path_Boolean.js index 2c9ee3a4..739c2095 100644 --- a/test/tests/Path_Boolean.js +++ b/test/tests/Path_Boolean.js @@ -524,6 +524,33 @@ test('#968', function() { 'M352,280l0,64c0,0 -13.69105,1.79261 -31.82528,4.17778c-15.66463,-26.96617 31.82528,-89.12564 31.82528,-68.17778z'); }); +test('#1054', function() { + var p1 = new Path({ + segments: [ + [310, 170], + [200, 170], + [200, 350], + [190, 350], + [190, 160], + [320, 160], + [320, 350], + [310, 350] + ], + closed: true + }); + var p2 = new Path({ + segments: [ + [195, 165], + [315, 165], + [315, 350], + [195, 350] + ], + closed: true + }); + compareBoolean(function() { return p1.unite(p2); }, + 'M190,350l0,-190l130,0l0,190z'); +}); + test('#1059', function() { var p1 = new paper.Path({ segments: [