implement test case for cards with keyword in name

This commit is contained in:
Lily 2025-04-07 15:16:16 -04:00
parent c831efae6e
commit 7976b106b7
No known key found for this signature in database
GPG key ID: D916CEDDF4F93CE7

View file

@ -19,6 +19,9 @@ protected:
void SetUp() override
{
cat = CardDatabaseManager::getInstance()->getCardBySimpleName("Cat");
notDeadAfterAll = CardDatabaseManager::getInstance()->getCardBySimpleName("Not Dead After All");
truthOrTale = CardDatabaseManager::getInstance()->getCardBySimpleName("Truth or Tale");
}
}
// void TearDown() override {}
@ -35,6 +38,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, "t:instant c:b", true)
QUERY(NonKeyword4, truthOrTale, "t:instant c:u", true)
QUERY(Case, cat, "t:cReAtUrE", true)
QUERY(And, cat, "t:creature t:creature", true)