File Unit Test 2.1 - nonkit/Shapes GitHub Wiki

File Unit Test 2.1

If there are temp.sb or temp.svg, remove them before testing.

  1. Draw a triangle, save as temp.sb . Run temp.sb and check the shape is a triangle.
  2. Draw a rectangle, save as temp.svg . Open temp.svg from GIMP and check the shape is a rectangle.
  3. Open temp.sb, add an ellipse, save as temp.sb . Run temp.sb and check the shapes are a triangle and an ellipse.
  4. Open temp.sb, delete a triangle, save as temp.svg . Open temp.svg from GIMP and check the shape is an ellipse.
  5. Open temp.svg, add a line, save as temp.svg . Open temp.svg from GIMP and check the shapes are an ellipse and a line.
  6. Open temp.svg, delete an ellipse, save as temp.sb . Run temp.sb and check the shape is a line.