ADD: added UtilFcuntion class and a test function

This commit is contained in:
Henry Winkel
2023-01-11 18:15:44 +01:00
parent bdacd2fc01
commit 7551a1def0
4 changed files with 81 additions and 1 deletions

View File

@@ -47,7 +47,8 @@ add_library(SimCore STATIC
include/SimCore/IdentifierMaker.hpp
src/SimCore/IdentifierMaker.cpp
include/SimCore/UtilFunctions.hpp
src/SimCore/UtilFunctions.cpp
)
@@ -114,4 +115,8 @@ IF (${TEST_SIMCORE_LIBRARY})
target_link_libraries(test_IdentifierList Catch2::Catch2 SimCore loguru)
catch_discover_tests(test_IdentifierList)
add_executable(test_UtilFunctions tests/test_UtilFunctions.cpp)
target_link_libraries(test_UtilFunctions Catch2::Catch2 SimCore loguru)
catch_discover_tests(test_UtilFunctions)
ENDIF()