mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 17:44:01 -07:00
use decklist library
This commit is contained in:
parent
910ca6b2ac
commit
f948c40ed4
2 changed files with 3 additions and 4 deletions
|
|
@ -14,7 +14,7 @@ add_executable(dummy_test dummy_test.cpp)
|
|||
add_executable(expression_test expression_test.cpp)
|
||||
add_executable(test_age_formatting test_age_formatting.cpp)
|
||||
add_executable(password_hash_test password_hash_test.cpp)
|
||||
add_executable(deck_hash_performance_test ../common/deck_list.cpp deck_hash_performance_test.cpp)
|
||||
add_executable(deck_hash_performance_test deck_hash_performance_test.cpp)
|
||||
|
||||
find_package(GTest)
|
||||
|
||||
|
|
@ -56,7 +56,7 @@ target_link_libraries(
|
|||
password_hash_test libcockatrice_utility Threads::Threads ${GTEST_BOTH_LIBRARIES} ${TEST_QT_MODULES}
|
||||
)
|
||||
target_link_libraries(
|
||||
deck_hash_performance_test libcockatrice_utility Threads::Threads ${GTEST_BOTH_LIBRARIES} ${TEST_QT_MODULES}
|
||||
deck_hash_performance_test libcockatrice_deck_list libcockatrice_utility Threads::Threads ${GTEST_BOTH_LIBRARIES} ${TEST_QT_MODULES}
|
||||
)
|
||||
|
||||
add_subdirectory(carddatabase)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
#include "../common/deck_list.h"
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include <QDebug>
|
||||
#include <libcockatrice/deck_list/deck_list.h>
|
||||
|
||||
static constexpr int amount = 1e5;
|
||||
QString repeatDeck;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue