CTest (C++ Tests)

This project uses GoogleTest with CTest integration. The test target is KDTree_test and tests are registered via gtest_discover_tests.

Manual Workflow

cmake -S . -B build/test -DCMAKE_BUILD_TYPE=Debug -DBUILD_KD_TREE_TESTS=ON
cmake --build build/test
ctest --test-dir build/test --output-on-failure

Run a Specific CTest Case

ctest --test-dir build/test -R KDTree --output-on-failure