mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-01 07:27:40 -08:00
* 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>
62 lines
1.5 KiB
XML
62 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<cockatrice_carddatabase version="4">
|
|
<cards>
|
|
<card>
|
|
<name>Cat</name>
|
|
<set>CAT</set>
|
|
<tablerow>0</tablerow>
|
|
<text>Meow!</text>
|
|
<prop>
|
|
<muid>111</muid>
|
|
<colors>G</colors>
|
|
<manacost>2G</manacost>
|
|
<cmc>2</cmc>
|
|
<type>Creature</type>
|
|
<maintype>Creature</maintype>
|
|
<pt>3/3</pt>
|
|
</prop>
|
|
</card>
|
|
<card>
|
|
<name>Dog</name>
|
|
<set>DOG</set>
|
|
<tablerow>0</tablerow>
|
|
<text>Woof!</text>
|
|
<prop>
|
|
<muid>222</muid>
|
|
<colors>R</colors>
|
|
<manacost>2RR</manacost>
|
|
<cmc>4</cmc>
|
|
<type>Creature</type>
|
|
<maintype>Creature</maintype>
|
|
<pt>4/4</pt>
|
|
</prop>
|
|
</card>
|
|
<card>
|
|
<name>Not Dead</name>
|
|
<set> Not a Card</set>
|
|
<tablerow>0</tablerow>
|
|
<text>Dead!</text>
|
|
<prop>
|
|
<muid>333</muid>
|
|
<colors>B</colors>
|
|
<manacost>B</manacost>
|
|
<cmc>1</cmc>
|
|
<maintype>Instant</maintype>
|
|
</prop>
|
|
</card>
|
|
<card>
|
|
<name>Truth</name>
|
|
<set> Not a Card</set>
|
|
<tablerow>0</tablerow>
|
|
<text>Truth!</text>
|
|
<prop>
|
|
<muid>444</muid>
|
|
<colors>U</colors>
|
|
<manacost>2U</manacost>
|
|
<cmc>2</cmc>
|
|
<maintype>Instant</maintype>
|
|
</prop>
|
|
</card>
|
|
</cards>
|
|
</cockatrice_carddatabase>
|