Files
wagic/projects/mtg/bin/Res/test/gamble.txt
anthonycalosa@gmail.com c3586126a5 Fixed Gamble and Gamble test(it failed because the command has a missing choose 0). Soft coded Insolence, Mana Short, Sacrifice and Touch of Vitae. Changed Rot Wulf to Rot Wolf.
TODO: there are several test that needs updating prior to changes in card primitives (the ones that failed 11 are left).
2013-01-14 15:26:00 +00:00

29 lines
673 B
Plaintext

#NAME: Gamble sequence test
#DESC: Gamble lets you *first* search a card
#DESC: from your library, and *then* you have
#DESC: to discard a random card. This means
#DESC: you may end up discarding the card you
#DESC: just searched for. The script tests this
#DESC: by using Gamble from an otherwise empty
#DESC: hand. If the sequence of actions is
#DESC: correct, then you will have to discard
#DESC: the card you just searched for (a
#DESC: Mountain om this case).
[INIT]
firstmain
[PLAYER1]
hand:Gamble
library:Mountain
manapool:{R}
[PLAYER2]
[DO]
Gamble
choice 0
Mountain
[ASSERT]
firstmain
[PLAYER1]
graveyard:Gamble,Mountain
[PLAYER2]
[END]