Cockatrice/tests/carddatabase
lilyhuang-github 574ea01e08
update handling of keywords: AND, OR, NOT in card search (#5788)
* update hnadling of keywords: AND, OR, NOT in card search

* added and

* update test

* update test

* update OR to not be [oO][rR] and just look for OR

* keyword testing

* adjusted new test

* implement test case for cards with keyword in name

* implement test case to cards with keyword in name

* format

* update test case

* change test cas

* update truth test case

* changed test card search from real cards to fake and added cards

* Update tests/carddatabase/data/cards.xml

Co-authored-by: RickyRister <42636155+RickyRister@users.noreply.github.com>

* Update tests/carddatabase/filter_string_test.cpp

Co-authored-by: RickyRister <42636155+RickyRister@users.noreply.github.com>

* Update tests/carddatabase/filter_string_test.cpp

Co-authored-by: RickyRister <42636155+RickyRister@users.noreply.github.com>

* update formatting

* update cardatabase_test to include +2 cards

* update test case +1 set + 1 type

---------

Co-authored-by: RickyRister <42636155+RickyRister@users.noreply.github.com>
2025-04-20 04:08:00 +00:00
..
data update handling of keywords: AND, OR, NOT in card search (#5788) 2025-04-20 04:08:00 +00:00
carddatabase_test.cpp update handling of keywords: AND, OR, NOT in card search (#5788) 2025-04-20 04:08:00 +00:00
CMakeLists.txt Refactor: split card_database into two files (#5715) 2025-03-14 00:02:10 +00:00
filter_string_test.cpp update handling of keywords: AND, OR, NOT in card search (#5788) 2025-04-20 04:08:00 +00:00
mocks.cpp Implement a little "raise on enter" animation for deck preview widgets. (#5844) 2025-04-18 03:31:47 +00:00
mocks.h New printing selector (#5182) 2024-12-19 02:40:34 +00:00