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.
- Draw a triangle, save as temp.sb . Run temp.sb and check the shape is a triangle.
- Draw a rectangle, save as temp.svg . Open temp.svg from GIMP and check the shape is a rectangle.
- Open temp.sb, add an ellipse, save as temp.sb . Run temp.sb and check the shapes are a triangle and an ellipse.
- Open temp.sb, delete a triangle, save as temp.svg . Open temp.svg from GIMP and check the shape is an ellipse.
- 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.
- Open temp.svg, delete an ellipse, save as temp.sb . Run temp.sb and check the shape is a line.