mirror of
https://github.com/kierankihn/uno-game.git
synced 2025-12-27 02:13:18 +08:00
test(game): add test cases for Card
This commit is contained in:
@@ -5,7 +5,6 @@ set(CMAKE_CXX_STANDARD 26)
|
||||
|
||||
find_package(ftxui CONFIG REQUIRED)
|
||||
|
||||
add_executable(uno-game src/main.cpp)
|
||||
add_executable(uno-game src/main.cpp
|
||||
src/game/Card.cpp
|
||||
src/game/CardTile.cpp
|
||||
@@ -15,4 +14,11 @@ target_link_libraries(uno-game
|
||||
PRIVATE ftxui::screen
|
||||
PRIVATE ftxui::dom
|
||||
PRIVATE ftxui::component
|
||||
)
|
||||
)
|
||||
|
||||
add_library(uno-game-lib src/game/Card.cpp
|
||||
src/game/CardTile.cpp
|
||||
src/common/utils.cpp
|
||||
)
|
||||
|
||||
add_subdirectory(test)
|
||||
Reference in New Issue
Block a user