mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08:00
Fixed color mana payment
This commit is contained in:
parent
5be6f78d59
commit
3c9e3de9a2
2 changed files with 8 additions and 4 deletions
|
|
@ -2,6 +2,7 @@ package org.mage.test.cards.mana.phyrexian;
|
|||
|
||||
import mage.Constants;
|
||||
import mage.Constants.PhaseStep;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
|
|
@ -22,8 +23,10 @@ public class PhyrexianManaTest extends CardTestPlayerBase {
|
|||
setStopAt(1, PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
||||
assertLife(playerA, 20);
|
||||
assertHandCount(playerA, 1);
|
||||
int life = playerA.getLife();
|
||||
int hand = playerA.getHand().size();
|
||||
// can be played only through life pay
|
||||
Assert.assertTrue(life == 20 && hand == 1 || life == 18 && hand == 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue