diff --git a/CMakeLists.txt b/CMakeLists.txt index 570c804..5bea40c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,4 +47,15 @@ add_executable(tests tests/tests.cpp tests/common/graph_tests.cpp) target_link_libraries(tests PRIVATE Catch2::Catch2WithMain) +# Add individual tests using add_test() +add_test( + NAME Graph Node Test + COMMAND tests --testcase "Graph nodes are created correctly" +) + +add_test( + NAME Graph Edge Test + COMMAND tests --testcase "Graph edges are created correctly" +) +