Update test for #944 to work with new way of handling compound-paths.

But keep deactivated as it is currently failing, see #1116
This commit is contained in:
Jürg Lehni 2016-07-22 13:15:05 +02:00
parent a5d04ef97c
commit 3d57216ffe

View file

@ -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);
});
*/