Tinkering with Import.svg tests

This commit is contained in:
AWagenheim 2012-09-20 21:54:23 -04:00
parent 205586bbbd
commit c6840a0dbd
3 changed files with 14 additions and 16083 deletions

File diff suppressed because one or more lines are too long

8237
dist/paper.js vendored

File diff suppressed because one or more lines are too long

View file

@ -12,11 +12,21 @@
* Distributed under the MIT license. See LICENSE file for details. * Distributed under the MIT license. See LICENSE file for details.
* *
* All rights reserved. * All rights reserved.
*
* This test file created by Stetson-Team-Alpha
*/ */
module('ImportSVG'); module('ImportSVG');
/** test('Make a circle', function()
*TODO: Create SVGs utilizing ImportSVG methods {
* WILL ADD MORE AFTER LEARNING SVG var svgDocument = evt.target.ownerDocument;
*/ var svgcircle = svgDocument.createElementNS(svgns, "circle");
svgCircle.setAttributeNS(null, "cx", 25);
svgCircle.setAttributeNS(null, "cy", 25);
svgCircle.setAttributeNS(null, "r", 20);
svgCircle.setAttributeNS(null, "fill", "green");
var circle = new ImportSVG(svgCircle)
equals(circle);
});
/