Add assignment

This commit is contained in:
Job Noorman
2022-10-27 12:29:19 +02:00
commit 9f05ab03c1
49 changed files with 4339 additions and 0 deletions

16
Tests/CMakeLists.txt Normal file
View File

@@ -0,0 +1,16 @@
add_subdirectory(Catch2/)
add_executable(tests
Main.cpp
SquareTests.cpp
MoveTests.cpp
PieceTests.cpp
BoardTests.cpp
FenTests.cpp
EngineTests.cpp
)
target_link_libraries(tests cplchess_lib Catch2::Catch2)
include(Catch2/contrib/Catch.cmake)
catch_discover_tests(tests)