Rename Item_Contains tests to PathItem_Contains and add more failing tests for #400.

This commit is contained in:
Jürg Lehni 2014-02-19 14:35:04 +01:00
parent ea89498e48
commit 641514cbf3
2 changed files with 5 additions and 2 deletions

View file

@ -10,7 +10,7 @@
* All rights reserved.
*/
module('Item Contains');
module('PathItem Contains');
function testPoint(item, point, inside) {
equals(item.contains(point), inside, 'The point ' + point
@ -200,5 +200,7 @@ test('Path#contains() (complex shape)', function() {
testPoint(path, new Point(360, 160), true);
testPoint(path, new Point(377, 96), false);
testPoint(path, new Point(410, 218), false);
testPoint(path, new Point(431, 104), false);
});

View file

@ -23,7 +23,6 @@
/*#*/ include('Item_Cloning.js');
/*#*/ include('Item_Order.js');
/*#*/ include('Item_Bounds.js');
/*#*/ include('Item_Contains.js');
/*#*/ include('Layer.js');
/*#*/ include('Group.js');
@ -39,6 +38,8 @@
/*#*/ include('Path_Length.js');
/*#*/ include('CompoundPath.js');
/*#*/ include('PathItem_Contains.js');
/*#*/ include('PlacedSymbol.js');
/*#*/ include('Raster.js');