diff --git a/test/tests/PathItem_Contains.js b/test/tests/PathItem_Contains.js index d3083805..cbd8d104 100644 --- a/test/tests/PathItem_Contains.js +++ b/test/tests/PathItem_Contains.js @@ -294,15 +294,19 @@ test('Path#contains() (straight curves with zero-winding: #943)', function() { /* test('CompoundPath#contains() (nested touching circles: #944)', function() { - var c1 = new Path.Circle({ - center: [200, 200], - radius: 100 + var cp = new CompoundPath({ + children: [ + new Path.Circle({ + center: [200, 200], + radius: 100 + }), + new Path.Circle({ + center: [150, 200], + radius: 50 + }) + ], + fillRule: 'evenodd' }); - var c2 = new Path.Circle({ - center: [150, 200], - radius: 50 - }); - var cp = new CompoundPath([c1, c2]); testPoint(cp, new Point(100, 200), true); }); */