Functional
Can you confirm that the module geometrical_shapes
was created?
Try to run the command cargo run
.
Does the program compile and run without any error or warning?
Does the program produce a png
file called image.png
?
Open the module geometrical_shapes
.
Can you confirm that the traits Displayable
and Drawable
where created?
Try to open the image.png
.
Does the image contain lines, circles, rectangles and triangles?
Are the shapes drawn with different colors?
Bonus
+Can you draw a pentagon?
+Can you draw a cube?