Add pair potential and tests

This commit is contained in:
Alex Selimov 2025-04-16 14:01:40 -04:00
parent dfd6f43e9b
commit 6162b27a89
11 changed files with 330 additions and 14 deletions

View file

@ -1,8 +1,9 @@
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
add_executable(Unit_Tests_run
test_example.cpp
test_potential.cpp
)
target_link_libraries(Unit_Tests_run gtest gtest_main)
target_link_libraries(Unit_Tests_run ${CMAKE_PROJECT_NAME}_lib)
target_link_libraries(Unit_Tests_run ${CMAKE_PROJECT_NAME}_lib)
add_test(Name Tests COMMAND Unit_Tests_run)