mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Failing test for Barter In Blood cast against AI
This commit is contained in:
parent
a60c05b861
commit
10eeea50bc
1 changed files with 30 additions and 0 deletions
|
@ -0,0 +1,30 @@
|
|||
package org.mage.test.cards.abilities.oneshot.sacrifice;
|
||||
|
||||
import mage.Constants;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
/**
|
||||
* @author noxx
|
||||
*/
|
||||
public class BarterInBloodTest extends CardTestPlayerBase {
|
||||
|
||||
/**
|
||||
* Checks that both creatures will be sacrificed
|
||||
*/
|
||||
@Test
|
||||
public void testSacrifice() {
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Swamp", 4);
|
||||
addCard(Constants.Zone.HAND, playerA, "Barter in Blood");
|
||||
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerB, "Flowering Lumberknot");
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerB, "Moorland Inquisitor");
|
||||
|
||||
castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "Barter in Blood");
|
||||
|
||||
setStopAt(1, Constants.PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertPermanentCount(playerB, 0);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue