The tests are written using Catch2
To run the tests :
- cd into the
tests/
directory. There is aCMakeLists.txt
file here. - make a directory
build
(just for organization purpose) and cd into thebuild
directory - run
cmake ..
-- this will generate theMakefile
- Then run
make
- The binary
phs_tests
will be built, run./phs_tests
to execute the binary.
NOTE: The instructions here are linux specific.