CS 372 Project 2 -- Michael Bilan, Bradley Morton and Charles Emerson
- Introduction
- Progress
- Steps to Compile and Run the Main Program
- Steps to Compile and Run the Testing Framework
- Documentation
This is a Software Construction exercise in design patterns. The goal of this project is to design and implement a high-level C++ shapes-language to PostScript translator.
Does it exist? | Does it pass the bounding box test? | Does it pass the PostScript test? | Is it documented? | |
---|---|---|---|---|
Circle | ✔️ | ✔️ | ✔️ | ✔️ |
Polygon | ✔️ | ✔️ | ✔️ | ✔️ |
Spacer | ✔️ | ✔️ | ✔️ | ✔️ |
Square | ✔️ | ❌ | ❌ | ✔️ |
Triangle | ✔️ | ❌ | ❌ | ✔️ |
Does it exist? | Does it pass the bounding box test? | Does it pass the PostScript test? | Is it documented? | |
---|---|---|---|---|
Rotated | ✔️ | ❌ | ✔️ | ✔️ |
Scaled | ✔️ | ❌ | ✔️ | ✔️ |
Layered | ✔️ | ❌ | ✔️ | ✔️ |
Vertical | ✔️ | ❌ | ✔️ | ✔️ |
Horizontal | ✔️ | ❌ | ✔️ | ✔️ |
Does it exist? | Does it pass the bounding box test? | Does it pass the PostScript test? | Is it documented? | |
---|---|---|---|---|
Ellipse | ✔️ | ❌ | ✔️ | ✔️ |
Donut | ✔️ | ❌ | ❌ | ✔️ |
Star | ❌ | ❌ | ❌ | ❌ |
Diamond | ❌ | ❌ | ❌ | ❌ |
Right-Triangle | ❌ | ❌ | ❌ | ❌ |
(This method requires CMake 2.6 or later to be installed)
- Create a new folder in the project folder called
build
- Navigate into
build
cmake ..
make
- Run
./cps_main.out
(This method requires CMake 2.6 or later to be installed)
- Download the Catch2 single-header catch.hpp into the folder
include
- Create a new folder in the project folder called
build
(if not already created) - Navigate into
build
. cmake ..
make
- Run
./catch_tests.out
See the official documentation.