Added test file

This commit is contained in:
Jurriaan van den Berg 2026-11-02 01:02:09 +01:00
parent e6b381e02d
commit e85e81ce85
2 changed files with 67 additions and 1 deletions

View file

@ -21,7 +21,7 @@ cockatrice_add_test(
)
# ------------------------
# Filter String Test
# Filter String and Tree Test
# (guard must match the condition for libcockatrice_filters in the root CMakeLists.txt)
# ------------------------
if(WITH_ORACLE OR WITH_CLIENT)
@ -35,6 +35,16 @@ if(WITH_ORACLE OR WITH_CLIENT)
LIBS
libcockatrice_filters
)
cockatrice_add_test(
NAME
filter_tree_test
SOURCES
${VERSION_STRING_CPP}
filter_tree_test.cpp
mocks.cpp
LIBS
libcockatrice_filters
)
endif()
# ------------------------