This example project is written in C++, and tested with make and Catch2.
The tests are failing right now because of a bad base case in the factorial function. Correcting the base case will fix the tests.
N/A
make test
g++
can be used to compile and link C++ applications for use with existing test harnesses or other C++ testing frameworks.- If students push
a.out
files, the autograder may attempt to run that version instead of a newly compiled binary. If this happens, and your student isn't on Linux, the script will crash. To fix this issue, it's recommended to clean before building.