ExportSVG Test Specifics - Stetson-Team-Alpha/paper.js GitHub Wiki

ExportSVG

Export Path

-Input paths for all different types of objects

  • EV: Correctly identify and create exported object
  • Tested

Check input path with different numbers of points, handleins, and handleouts -EV: Valid path with associated value, otherwise set path to null

  • Tested

Create Paper objects, paper paths (closed and not closed), then export to SVG

  • EV: Visual evaluation
  • Tested

Input invalid/valid/no-value stroke colors

  • EV: Set invalid/no-value stroke colors to black
  • Tested

Input invalid/valid/no-value fill color

  • EV: Set invalid/no-value fill color to no-fill
  • Tested

Input invalid/valid/no-value stroke widths

  • EV: Set invalid/no-value stroke widths to 0
  • Tested