import {Element} from '../index' import arc from './tests/arc' import arcTo from './tests/arcTo' import arcTo2 from './tests/arcTo2' import arcToScaled from './tests/arcToScaled' import emptyArc from './tests/emptyArc' import ellipse from './tests/ellipse' import ellipse2 from './tests/ellipse2' import fillstyle from './tests/fillstyle' import globalAlpha from './tests/globalalpha' import gradient from './tests/gradient' import linecap from './tests/linecap' import linewidth from './tests/linewidth' import rgba from './tests/rgba' import rotate from './tests/rotate' import saveandrestore from './tests/saveandrestore' import setLineDash from './tests/setLineDash' import text from './tests/text' import tiger from './tests/tiger' import transform from './tests/transform' import pattern from "./tests/pattern"; const tests = [ tiger, arc, arcTo, arcTo2, arcToScaled, emptyArc, ellipse, ellipse2, fillstyle, globalAlpha, gradient, linecap, linewidth, rgba, rotate, saveandrestore, setLineDash, text, transform, pattern ]; for (let fn of tests) { let name = fn.name; // Container const container = document.createElement('div'); container.className = 'example'; container.id = 'example-' + name; container.innerHTML = `