文件名称:cpp-gofish:使用googletest和googlemock的C ++ cmake玩鱼游戏
文件大小:197KB
文件格式:ZIP
更新时间:2024-04-15 20:57:25
C++
cpp-gofish 使用googletest和googlemock的C ++ cmake玩鱼游戏 请按照以下步骤进行构建,测试和运行 git clone https://github.com/richjohnson905-home/cpp-gofish cd into cpp-gofish mkdir build cmake -S . -B build cd build cmake --build . ctest ./main/myApp
【文件预览】:
cpp-gofish-main
----.DS_Store(6KB)
----libdeck()
--------Card.h(384B)
--------Deck.h(285B)
--------Log.h(4KB)
--------CardCompare.h(324B)
--------CMakeLists.txt(297B)
--------Card.cpp(1KB)
--------Deck.cpp(1KB)
----testdeck()
--------StrategyHelper.test.cpp(2KB)
--------TurnHelper.test.cpp(4KB)
--------catch.cpp(336KB)
--------catch2()
--------Deck.test.cpp(738B)
--------trompeloeil.hpp(156KB)
--------catch.hpp(402KB)
--------HumanStrategy.test.cpp(642B)
--------CMakeLists.txt(1KB)
--------Player.test.h(1KB)
--------Player.test.cpp(4KB)
--------Strategy.test.h(1KB)
--------mocks()
--------Deck.test.h(309B)
--------Strategy.test.cpp(3KB)
--------Card.test.cpp(580B)
--------GoFishUtil.test.cpp(1KB)
----.vscode()
--------launch.json(1KB)
--------c_cpp_properties.json(585B)
--------settings.json(115B)
----CMakeLists.txt(349B)
----.idea()
--------misc.xml(137B)
--------.name(6B)
--------cpp-gofish.iml(97B)
--------modules.xml(272B)
--------.gitignore(176B)
--------vcs.xml(274B)
----libgofish()
--------HumanStrategy.cpp(2KB)
--------MvcController.h(1KB)
--------GoFishUtil.cpp(634B)
--------MvcGameView.h(752B)
--------StrategyHelper.h(1KB)
--------MvcModel.h(2KB)
--------TurnHelper.cpp(3KB)
--------Player.h(2KB)
--------TurnHelper.h(892B)
--------StrategyHelper.cpp(3KB)
--------CMakeLists.txt(571B)
--------MvcModel.cpp(3KB)
--------Strategy.h(557B)
--------GoFishGame.h(661B)
--------MvcGameView.cpp(4KB)
--------HumanStrategy.h(611B)
--------MvcController.cpp(1KB)
--------Player.cpp(3KB)
--------Strategy.cpp(519B)
--------GoFishGame.cpp(2KB)
--------GoFishUtil.h(283B)
----README.md(304B)
----main()
--------CMakeLists.txt(257B)
--------main.cpp(2KB)
----.gitignore(20B)