Skip to content
This repository has been archived by the owner on Dec 4, 2017. It is now read-only.

Latest commit

 

History

History
56 lines (40 loc) · 1.08 KB

README.md

File metadata and controls

56 lines (40 loc) · 1.08 KB

Retro Calculator stability-deprecated Build Status

⚠️ This repository is no longer maintained by Lukas Martinelli.

This is a C++ console application where you can calculate simple expressions and the output will be displayed as 7-segment digits.

Project Setup for Cevelop

  1. Install Cevelop
  2. Open the repository as a workspace
  3. Import as existing projects into workspace

Build Project

You can use Eclipse to build the project or the provided makefile.

make

Run Tests

We use CUTE for our unit tests. To run the tests you need to compile the tests and then simply run the executable. This will output the test results to the console and a XML file.

make test

Examples

Standard arithmetic operations:

5 * 3
    -
  ||
    -
  |  |
    -

Catching errors:

10 / 0
 -
|
 -  -  -  -  -
|  |  |  | ||
 -        -