Init project

This commit is contained in:
Loic Guegan 2022-01-29 11:52:47 +01:00
commit e9d328acf4
19 changed files with 23418 additions and 0 deletions

17
tests/CMakeLists.txt Normal file
View file

@ -0,0 +1,17 @@
# Configure catch3
include_directories(./catch3/)
add_library(catch3 SHARED ./catch3/catch_amalgamated.cpp)
# Add tests
add_executable(fen_tests fen.cpp)
target_link_libraries(fen_tests chessarbiter catch3)
add_test(Fen_Test fen_tests)
add_executable(board_tests board.cpp)
target_link_libraries(board_tests chessarbiter catch3)
add_test(Board_Test board_tests)
add_executable(chessarbiter_tests chessarbiter.cpp)
target_link_libraries(chessarbiter_tests chessarbiter catch3)
add_test(ChessArbiter_Test chessarbiter_tests)