(item, point, inside, message)
| 13 | QUnit.module('PathItem Contains'); |
| 14 | |
| 15 | function testPoint(item, point, inside, message) { |
| 16 | equals(item.contains(point), inside, message || ('The point ' + point |
| 17 | + ' should be ' + (inside ? 'inside' : 'outside') + '.')); |
| 18 | } |
| 19 | |
| 20 | test('Path#contains() (regular polygon: #208)', function() { |
| 21 | var path = new Path.RegularPolygon([0, 0], 6, 20); |
no test coverage detected