This commit is contained in:
2024-05-07 02:12:17 +03:00
parent 17fae55fdf
commit 526e4de812
11 changed files with 94 additions and 165 deletions

9
tests/CMakeLists.txt Normal file
View File

@@ -0,0 +1,9 @@
enable_testing()
project(unit-tests)
file(GLOB TEST_SRC_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
include(GoogleTest)
add_executable(unit-tests ${TEST_SRC_FILES})
target_link_libraries(unit-tests PRIVATE gtest gtest_main uml)
gtest_discover_tests(unit-tests)