mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
* Added calculation of mana sources of hand cards (related to #6698).
This commit is contained in:
parent
818952bf2d
commit
c19af65431
2 changed files with 33 additions and 3 deletions
|
|
@ -334,4 +334,19 @@ public class NonTappingManaAbilitiesTest extends CardTestPlayerBase {
|
|||
assertManaOptions("{C}{C}", manaOptions);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAvailableManaWithSpiritGuides() {
|
||||
// Exile Simian Spirit Guide from your hand: Add {R}.
|
||||
addCard(Zone.HAND, playerA, "Simian Spirit Guide", 1);
|
||||
// Exile Simian Spirit Guide from your hand: Add {R}.
|
||||
addCard(Zone.HAND, playerA, "Elvish Spirit Guide", 1);
|
||||
|
||||
setStopAt(1, PhaseStep.UPKEEP);
|
||||
execute();
|
||||
|
||||
ManaOptions manaOptions = playerA.getAvailableManaTest(currentGame);
|
||||
Assert.assertEquals("mana variations don't fit", 1, manaOptions.size());
|
||||
assertManaOptions("{R}{G}", manaOptions);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue