mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
Failing test for continuous effects
This commit is contained in:
parent
b9139ca4c9
commit
02d41fd65f
2 changed files with 34 additions and 0 deletions
|
|
@ -0,0 +1,32 @@
|
|||
package org.mage.test.cards.continuous;
|
||||
|
||||
import mage.Constants;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
/**
|
||||
* @author noxx
|
||||
*/
|
||||
public class GoblinBushwhackerTest extends CardTestPlayerBase {
|
||||
|
||||
/**
|
||||
* Tests doesn't work in library and in hand
|
||||
*/
|
||||
@Test
|
||||
public void testDoesntWorkFromHand() {
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Plains");
|
||||
addCard(Constants.Zone.HAND, playerA, "Elite Vanguard");
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Goblin Bushwhacker");
|
||||
addCard(Constants.Zone.LIBRARY, playerA, "Goblin Bushwhacker");
|
||||
addCard(Constants.Zone.GRAVEYARD, playerA, "Goblin Bushwhacker");
|
||||
|
||||
castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "Elite Vanguard");
|
||||
|
||||
setStopAt(1, Constants.PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertPermanentCount(playerA, "Elite Vanguard", 1);
|
||||
assertPowerToughness(playerA, "Elite Vanguard", 2, 1);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue