Psyringe - added test suite scripts for issues i163 to i168.
Also added two scripts that don't demonstrate bugs (apparently the bug reports that I used to write the scripts were either false or outdated). nevertheless it doesn't hurt to have these scripts in the test suite, it prevents us from breaking something for the respective cards in the future and not noticing it. The script fear_i147.txt has been moved into the "generic" folder and added to the regular test sequence for the same reason. Also fixed the script generic/tokens.txt. It was referencing The Hive once via name and once via ID. This caused problems when (unofficial) Beta edition _cards.dat was installed.
This commit is contained in:
27
projects/mtg/bin/Res/test/bugs/disrupting_scepter_i163.txt
Normal file
27
projects/mtg/bin/Res/test/bugs/disrupting_scepter_i163.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
#NAME: Disrupting Scepter
|
||||
#DESC: When Disrupting Scepter is activated,
|
||||
#DESC: it does not allow to choose a target.
|
||||
#DESC: Instead, a red rectangle flashes briefly
|
||||
#DESC: around the whole screen. No mana is used.
|
||||
#DESC: See: http://code.google.com/p/wagic/issues/detail?id=163
|
||||
[INIT]
|
||||
firstmain
|
||||
[PLAYER1]
|
||||
hand:Disrupting Scepter
|
||||
manapool:{6}
|
||||
[PLAYER2]
|
||||
hand:Forest,Forest
|
||||
[DO]
|
||||
Disrupting Scepter
|
||||
Disrupting Scepter
|
||||
p2
|
||||
[ASSERT]
|
||||
firstmain
|
||||
[PLAYER1]
|
||||
inplay:Disrupting Scepter
|
||||
hand:
|
||||
manapool:
|
||||
[PLAYER2]
|
||||
hand:Forest
|
||||
graveyard:Forest
|
||||
[END]
|
||||
23
projects/mtg/bin/Res/test/bugs/drain_life_nonblack_i164.txt
Normal file
23
projects/mtg/bin/Res/test/bugs/drain_life_nonblack_i164.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
#NAME: Drain Life and non-black mana
|
||||
#DESC: Drain Life can use non-black mana
|
||||
#DESC: for its effect.
|
||||
#DESC: See: http://code.google.com/p/wagic/issues/detail?id=164
|
||||
[INIT]
|
||||
firstmain
|
||||
[PLAYER1]
|
||||
hand:Drain Life
|
||||
manapool:{B}{B}{B}{W}{U}{U}{3}
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
Drain Life
|
||||
p2
|
||||
[ASSERT]
|
||||
firstmain
|
||||
[PLAYER1]
|
||||
hand:
|
||||
graveyard:Drain Life
|
||||
life:22
|
||||
manapool:{W}{U}{U}{2}
|
||||
[PLAYER2]
|
||||
life:18
|
||||
[END]
|
||||
@@ -1,41 +0,0 @@
|
||||
#NAME: Fear i147
|
||||
#DESC: Creatures with fear should be
|
||||
#DESC: blockable by artifacts and black
|
||||
#DESC: creatures, but unblockable by others.
|
||||
[INIT]
|
||||
combatattackers
|
||||
[PLAYER1]
|
||||
inplay:prickly boggart,severed legion,gluttonous zombie,ratcatcher
|
||||
graveyard:
|
||||
[PLAYER2]
|
||||
inplay:scathe zombies,cathodion,gosta dirk,ant queen
|
||||
graveyard:
|
||||
life:20
|
||||
[DO]
|
||||
prickly boggart
|
||||
severed legion
|
||||
gluttonous zombie
|
||||
ratcatcher
|
||||
next
|
||||
scathe zombies
|
||||
cathodion
|
||||
cathodion
|
||||
gosta dirk
|
||||
gosta dirk
|
||||
gosta dirk
|
||||
ant queen
|
||||
ant queen
|
||||
ant queen
|
||||
ant queen
|
||||
next
|
||||
next
|
||||
[ASSERT]
|
||||
combatend
|
||||
[PLAYER1]
|
||||
inplay:gluttonous zombie,ratcatcher
|
||||
graveyard:prickly boggart,severed legion
|
||||
[PLAYER2]
|
||||
inplay:scathe zombies,cathodion,gosta dirk,ant queen
|
||||
graveyard:
|
||||
life:13
|
||||
[END]
|
||||
44
projects/mtg/bin/Res/test/bugs/instill_energy_i166.txt
Normal file
44
projects/mtg/bin/Res/test/bugs/instill_energy_i166.txt
Normal file
@@ -0,0 +1,44 @@
|
||||
#NAME: Instill Energy
|
||||
#DESC: Instill Energy should allow
|
||||
#DESC: tapped creatures to untap.
|
||||
#DESC: See: http://code.google.com/p/wagic/issues/detail?id=166
|
||||
[INIT]
|
||||
firstmain
|
||||
[PLAYER1]
|
||||
inplay:Grizzly Bears,Swamp,Forest,Plains
|
||||
hand:Instill Energy,Assassinate
|
||||
manapool:{G}
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
Instill Energy
|
||||
Grizzly Bears
|
||||
next
|
||||
next
|
||||
Grizzly Bears
|
||||
next
|
||||
next
|
||||
next
|
||||
next
|
||||
# Try to untap Grizzly Bears.
|
||||
# Not sure whether this is supposed to work by
|
||||
# clicking on the bears or on the aura, so we
|
||||
# do both:
|
||||
Instill Energy
|
||||
Grizzly Bears
|
||||
# Now try to cast Assassinate on them. This will
|
||||
# only have an effect if the untapping failed.
|
||||
Swamp
|
||||
Forest
|
||||
Plains
|
||||
Assassinate
|
||||
Grizzly Bears
|
||||
[ASSERT]
|
||||
firstmain
|
||||
[PLAYER1]
|
||||
inplay:Swamp,Forest,Plains,Grizzly Bears,Instill Energy
|
||||
hand:Assassinate
|
||||
graveyard:
|
||||
manapool:{W}{B}{G}
|
||||
[PLAYER2]
|
||||
life:18
|
||||
[END]
|
||||
@@ -0,0 +1,30 @@
|
||||
#NAME: Kjeldoran Frostbeast 2
|
||||
#DESC: Kjeldoran Frostbeast should only destroy
|
||||
#DESC: creatures that it actually is still
|
||||
#DESC: blocking at end of combat (unlike Basilisks
|
||||
#DESC: and Cockatrices). This means that a creature
|
||||
#DESC: that manages to destroy Kjeldoran Frostbeast
|
||||
#DESC: should not be destroyed at end of combat.
|
||||
#DESC: See: http://code.google.com/p/wagic/issues/detail?id=167
|
||||
[INIT]
|
||||
combatattackers
|
||||
[PLAYER1]
|
||||
inplay:Kjeldoran Frostbeast
|
||||
[PLAYER2]
|
||||
inplay:Earth Elemental
|
||||
[DO]
|
||||
Kjeldoran Frostbeast
|
||||
next
|
||||
Earth Elemental
|
||||
next
|
||||
next
|
||||
next
|
||||
[ASSERT]
|
||||
secondmain
|
||||
[PLAYER1]
|
||||
inplay:
|
||||
graveyard:Kjeldoran Frostbeast
|
||||
[PLAYER2]
|
||||
inplay:Earth Elemental
|
||||
graveyard:
|
||||
[END]
|
||||
29
projects/mtg/bin/Res/test/bugs/kudzu_i168.txt
Normal file
29
projects/mtg/bin/Res/test/bugs/kudzu_i168.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
#NAME: Double-Kudzu crash test
|
||||
#DESC: Bug: Game crashes if a land with
|
||||
#DESC: two Kudzus in it is tapped.
|
||||
#DESC: See: http://code.google.com/p/wagic/issues/detail?id=168
|
||||
[INIT]
|
||||
firstmain
|
||||
[PLAYER1]
|
||||
inplay:Swamp
|
||||
hand:Kudzu,Kudzu
|
||||
manapool:{G}{G}{G}{G}{G}{G}
|
||||
[PLAYER2]
|
||||
inplay:Mountain
|
||||
[DO]
|
||||
Kudzu
|
||||
Swamp
|
||||
Kudzu
|
||||
Swamp
|
||||
Swamp
|
||||
Mountain
|
||||
Mountain
|
||||
[ASSERT]
|
||||
firstmain
|
||||
[PLAYER1]
|
||||
inplay:
|
||||
graveyard:Swamp
|
||||
manapool:
|
||||
[PLAYER2]
|
||||
inplay:Mountain,Kudzu,Kudzu
|
||||
[END]
|
||||
Reference in New Issue
Block a user