mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 06:52:15 -07:00
changed test card search from real cards to fake and added cards
This commit is contained in:
parent
0a4b5ae3dd
commit
e1125124f2
2 changed files with 29 additions and 3 deletions
|
|
@ -31,5 +31,31 @@
|
|||
<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 or Trail</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>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ protected:
|
|||
void SetUp() override
|
||||
{
|
||||
cat = CardDatabaseManager::getInstance()->getCardBySimpleName("Cat");
|
||||
notDeadAfterAll = CardDatabaseManager::getInstance()->getCardBySimpleName("Not Dead After All");
|
||||
notDeadAfterAll = CardDatabaseManager::getInstance()->getCardBySimpleName("Not Dead");
|
||||
truth = CardDatabaseManager::getInstance()->getCardBySimpleName("Truth");
|
||||
}
|
||||
}
|
||||
|
|
@ -37,8 +37,8 @@ QUERY(Not1, cat, "NOT t:kithkin", true)
|
|||
QUERY(Not2, cat, "NOT t:creature", false)
|
||||
QUERY(NonKeyword1, cat, "not t:kithkin", false)
|
||||
QUERY(NonKeyword2, cat, "t:bat or t:creature", false)
|
||||
QUERY(NonKeyword3, notDeadAfterAll, "not dead after all", true)
|
||||
QUERY(NonKeyword4, truth, "truth or tale", false)
|
||||
QUERY(NonKeyword3, notDeadAfterAll, "not dead", true)
|
||||
QUERY(NonKeyword4, truth, "truth or trail", false)
|
||||
QUERY(Case, cat, "t:cReAtUrE", true)
|
||||
|
||||
QUERY(And, cat, "t:creature t:creature", true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue