Unit tests for Algorithm Analysis and Synthesis projects.
Description of each test:
- Makefile - You probably already have it
If you want to run this on MacOS you will need to install GNU's diff command for this to work properly. I recommend using a package manager like brew:
brew install diffutils
Clone the repo
git clone https://github.com/SrGesus/ASA-Proj-Tester
Provide the file config.txt with the path to your source code.
Followed by
make
You can also run a specific test or a group of tests. But you should run make clean first. E.g:
make clean tests/proj1/A.in tests/proj1/B.in
You can then check out the respective output, on the same folder with the extension .outhyp
and the diff .diff
.