mirror of
https://github.com/correl/mage.git
synced 2025-04-09 17:00:09 -09:00
Test updated
This commit is contained in:
parent
d75974efd0
commit
a37cd4036c
1 changed files with 7 additions and 5 deletions
|
@ -34,26 +34,28 @@ public class LoadCheatsTest extends CardTestPlayerBase {
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 3);
|
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 3);
|
||||||
|
|
||||||
String commandsFile = prepareCommandFile(new StringBuilder()
|
String commandsFile = prepareCommandFile(new StringBuilder()
|
||||||
.append("[group 1]").append('\n')
|
.append("[group 1]").append('\n') // 1 group
|
||||||
.append("battlefield:Human:Forest:10").append('\n')
|
.append("battlefield:Human:Forest:10").append('\n')
|
||||||
.append("//battlefield:Human:Forest:10").append('\n')
|
.append("//battlefield:Human:Forest:10").append('\n')
|
||||||
.append("battlefield:Human:Island:10").append('\n')
|
.append("battlefield:Human:Island:10").append('\n')
|
||||||
.append("").append('\n')
|
.append("").append('\n')
|
||||||
.append("[@add mana]").append('\n')
|
.append("[@mana add]").append('\n') // 2 group
|
||||||
.append("[group 2]").append('\n')
|
.append("[group 2]").append('\n') // 3 group
|
||||||
.append("//").append('\n')
|
.append("//").append('\n')
|
||||||
.append("hand:Human:Island:10").append('\n') // need that
|
.append("hand:Human:Island:10").append('\n') // need that from 3 group
|
||||||
.append("[group 3]").append('\n')
|
.append("[group 3]").append('\n')
|
||||||
.append("//").append('\n')
|
.append("//").append('\n')
|
||||||
.append("hand:Human:Island:5").append('\n')
|
.append("hand:Human:Island:5").append('\n')
|
||||||
|
.append("[group 4]").append('\n') // 4 group
|
||||||
|
.append("hand:Human:Island:3").append('\n')
|
||||||
.toString()
|
.toString()
|
||||||
.replace(":Human:", ":" + playerA.getName() + ":")
|
.replace(":Human:", ":" + playerA.getName() + ":")
|
||||||
);
|
);
|
||||||
|
|
||||||
setChoice(playerA, "2");
|
|
||||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||||
execute();
|
execute();
|
||||||
|
|
||||||
|
setChoice(playerA, "3");
|
||||||
SystemUtil.addCardsForTesting(currentGame, commandsFile, playerA);
|
SystemUtil.addCardsForTesting(currentGame, commandsFile, playerA);
|
||||||
|
|
||||||
assertHandCount(playerA, "Razorclaw Bear", 1);
|
assertHandCount(playerA, "Razorclaw Bear", 1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue