mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-28 00:42:19 -07:00
Add main to test.
Took 1 minute Took 29 seconds
This commit is contained in:
parent
fa669544d3
commit
519297bb6f
1 changed files with 6 additions and 0 deletions
|
|
@ -138,3 +138,9 @@ TEST(PlaymatResolverTest, ForceWithEmptyCardIgnoresFallbackParamsButNotFallback)
|
||||||
resolveEffectivePlaymat(deck, emptyForce, {}, PlaymatFallbackMode::Fixed, rotationIndex);
|
resolveEffectivePlaymat(deck, emptyForce, {}, PlaymatFallbackMode::Fixed, rotationIndex);
|
||||||
EXPECT_EQ(resolved.card.name, QStringLiteral("Deck Mat"));
|
EXPECT_EQ(resolved.card.name, QStringLiteral("Deck Mat"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
::testing::InitGoogleTest(&argc, argv);
|
||||||
|
return RUN_ALL_TESTS();
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue