Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 731 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 731 Bytes

Autograding Example: C++

This example project is written in C++, and tested with make and Catch2.

The assignment

The tests are failing right now because of a bad base case in the factorial function. Correcting the base case will fix the tests.

Setup command

N/A

Run command

make test

Notes

  • 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.