Project 1a

Due Date: Fri 17 Feb
Individual Project

Do this project in Haskell. Use HUnit for unit testing. No visual drawing of the shapes is required.
  1. Define a suitable algebraic data type.
  2. Create the test fixtures (sample shape trees).
  3. Define the bounding box and size functions.
  4. Port the test suite.
Comments