Add tests for SaveMap

This commit is contained in:
Jiga228
2025-10-13 21:06:23 +07:00
parent 8819114b63
commit 87c72e4a48
7 changed files with 255 additions and 41 deletions
+8 -1
View File
@@ -1,3 +1,4 @@
set(CMAKE_CXX_STANDARD 17)
include(FetchContent)
FetchContent_Declare(
googletest
@@ -9,7 +10,13 @@ FetchContent_MakeAvailable(googletest)
enable_testing()
file(GLOB SRC "UStringTest.cpp" "${PROJECT_SOURCE_DIR}/Core/Types/UString.cpp")
file(GLOB SRC
"UStringTest.cpp"
"SaveMapTest.cpp"
"${PROJECT_SOURCE_DIR}/Core/Types/UString.cpp"
"${PROJECT_SOURCE_DIR}/Core/Game/SaveMap/SaveMap.cpp"
)
add_executable(Tests ${SRC})
target_link_libraries(Tests PRIVATE