Made by: Robert Richer Date: 2024-07-19
Choose either a Nix-based setup (recommended) or a manual setup.
Nix Setup:
nix
Manual Setup:
cmakegcc 13.2.0ninjaormake
src/test.cpp: Test code with Google Test.src/data-structure.hpp: The interval map data structure.
The nix shell already contains commands to run the test and the application:
nix-shell --pure --run "run && test"Or manually compile everything:
mkdir cmake-build && cd cmake-build
cmake -GNinja ..
./tests