diff --git a/test/tests/Path.js b/test/tests/Path.js index aaf44178..97286645 100644 --- a/test/tests/Path.js +++ b/test/tests/Path.js @@ -122,3 +122,11 @@ test('Path#reverse', function() { equals(path.segments.toString(), '{ point: { x: 100, y: 130 }, handleIn: { x: -16.56854, y: 0 }, handleOut: { x: 16.56854, y: 0 } },{ point: { x: 130, y: 100 }, handleIn: { x: 0, y: 16.56854 }, handleOut: { x: 0, y: -16.56854 } },{ point: { x: 100, y: 70 }, handleIn: { x: 16.56854, y: 0 }, handleOut: { x: -16.56854, y: 0 } },{ point: { x: 70, y: 100 }, handleIn: { x: 0, y: -16.56854 }, handleOut: { x: 0, y: 16.56854 } }'); }); +test('Path#fullySelected', function() { + var path = new Path.Circle([100, 100], 10); + path.selected = true; + path.segments[1].selected = false; + equals(function() { + return path.fullySelected; + }, false); +}); \ No newline at end of file