# Tests

## Building and running tests

Compile and run the tests with:

cd test
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j12 && ./bin/geometry-central-test


## Tests organization

All tests are stored in the test/ subdirectory, which is not touched by the usual build system.

The tests/assets/ directory contains a handful of input files for various tests. The absolute paths to these files are baked in to the test executable by the build system, so moving this directory after compiling tests may cause problems. The disk footprint of assets should be kept as small as possible since they are stored in the library repository.