Test-Driven Implementation of Data Structures & Algorithms in C++11
libpocket
is a test-driven implementation of stuff found
in Lee Wittenberg's Data Structures and Algorithms in C++: Pocket
Primer (hence the name) — an exercise aimed at refreshing
C++, CMake, TDD, and, well, data structures and algorithms.
Safety warning: do not use this in production unless you really have to.
$ mkdir -p build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Debug ../
$ cmake --build .
$ ctest
To see Google Tests' verbose output, do
$ ctest -V
$ mkdir -p build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Release ../
$ cmake --build .
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Release ../
$ cmake --build . --clean-first --target install