Test updated

This commit is contained in:
Oleg Agafonov 2018-01-04 04:58:52 +04:00
parent d75974efd0
commit a37cd4036c

View file

@ -34,26 +34,28 @@ public class LoadCheatsTest extends CardTestPlayerBase {
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 3);
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:Island:10").append('\n')
.append("").append('\n')
.append("[@add mana]").append('\n')
.append("[group 2]").append('\n')
.append("[@mana add]").append('\n') // 2 group
.append("[group 2]").append('\n') // 3 group
.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("//").append('\n')
.append("hand:Human:Island:5").append('\n')
.append("[group 4]").append('\n') // 4 group
.append("hand:Human:Island:3").append('\n')
.toString()
.replace(":Human:", ":" + playerA.getName() + ":")
);
setChoice(playerA, "2");
setStopAt(1, PhaseStep.BEGIN_COMBAT);
execute();
setChoice(playerA, "3");
SystemUtil.addCardsForTesting(currentGame, commandsFile, playerA);
assertHandCount(playerA, "Razorclaw Bear", 1);