Starter Template C and C++ with Unit Testing, Functional Testing, and Line Coverage
usage:
make
: build a.outmake test
: build a.out-test using test/main.cppmake cov
: recompile with -fprofile-arcs a.out-cov using test/main.cpp
other useful things:
test/test.hpp
macros for asserting if vars are equaltest_fn/test_file.py
runs a command and gets stdout/stderr/retcodetest_fn/main.py
pretty print exp/actual diff with colors for each test