mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 09:33:25 -08:00
Revert "Added extra cards to the test database"
This reverts commit e456e4d461.
This commit is contained in:
parent
b3e6ecbef7
commit
1a46aeaaff
2 changed files with 3 additions and 79 deletions
|
|
@ -52,9 +52,9 @@ TEST(CardDatabaseTest, LoadXml)
|
|||
|
||||
// load dummy cards and test result
|
||||
db->loadCardDatabases();
|
||||
ASSERT_EQ(13, db->getCardList().size()) << "Wrong card count after load";
|
||||
ASSERT_EQ(14, db->getSetList().size()) << "Wrong sets count after load";
|
||||
ASSERT_EQ(5, db->query()->getAllMainCardTypes().size()) << "Wrong types count after load";
|
||||
ASSERT_EQ(9, db->getCardList().size()) << "Wrong card count after load";
|
||||
ASSERT_EQ(5, db->getSetList().size()) << "Wrong sets count after load";
|
||||
ASSERT_EQ(3, db->query()->getAllMainCardTypes().size()) << "Wrong types count after load";
|
||||
ASSERT_EQ(Ok, db->getLoadStatus()) << "Wrong status after load";
|
||||
|
||||
// ensure the card database is empty after clear()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue