Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
idapena committed Feb 16, 2024
1 parent d67e6a7 commit 289e26b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)


0 comments on commit 289e26b

Please sign in to comment.