diff --git a/test/tests/Item_Contains.js b/test/tests/Item_Contains.js index 2c807879..526a6bb4 100644 --- a/test/tests/Item_Contains.js +++ b/test/tests/Item_Contains.js @@ -48,6 +48,13 @@ test('Path#contains() (Round Rectangle)', function() { testPoint(path, new Point(100, 20), true); }); +test('Path#contains() (Open Circle)', function() { + var path = new Path.Circle([100, 100], 100); + path.closed = false; + path.fillColor = '#ff0000'; + testPoint(path, new Point(40, 160), false); +}); + test('CompoundPath#contains() (Donut)', function() { var path = new CompoundPath([ new Path.Circle([0, 0], 50),