Added the 3 missing tests from last revision.

This commit is contained in:
solo81@web.de
2010-08-29 15:08:05 +00:00
parent 4dc2e4c401
commit 327b43d209
3 changed files with 81 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#Testing prevent:*number* keyword.
#Prevent the next 2 damage that would be dealt to you this turn.
[INIT]
FIRSTMAIN
[PLAYER1]
hand:Lightning Bolt
manapool:{3}{R}
inplay:conservator
[PLAYER2]
[DO]
conservator
p1
lightning bolt
p1
[ASSERT]
FIRSTMAIN
[PLAYER1]
life:19
inplay:conservator
graveyard:Lightning Bolt
[PLAYER2]
life:20
[END]
@@ -0,0 +1,25 @@
#Testing prevent:*number* keyword.
#Prevent all damage that would be dealt to you and creatures you control this turn.
[INIT]
FIRSTMAIN
[PLAYER1]
hand:lightning bolt,safe passage,pyroclasm
manapool:{3}{R}{R}{W}
inplay:grizzly bears,runeclaw bears,barbary apes
[PLAYER2]
inplay:headless horseman
[DO]
safe passage
pyroclasm
lightning bolt
p1
[ASSERT]
FIRSTMAIN
[PLAYER1]
life:20
inplay:grizzly bears,runeclaw bears,barbary apes
graveyard:lightning bolt,safe passage,pyroclasm
[PLAYER2]
graveyard:headless horseman
life:20
[END]
@@ -0,0 +1,33 @@
#Testing prevent:*number* keyword.
[INIT]
FIRSTMAIN
[PLAYER1]
hand:Shock
manapool:{R}
inplay:grizzly bears,samite healer
[PLAYER2]
[DO]
samite healer
grizzly bears
shock
grizzly bears
next
#begin
next
#attackers
grizzly bears
next
#blockers
next
#damage
next
#end combat
[ASSERT]
COMBATEND
[PLAYER1]
life:20
inplay:grizzly bears,samite healer
graveyard:shock
[PLAYER2]
life:18
[END]