From 404137b144fb0a3488a43b10d186314edded1c9f Mon Sep 17 00:00:00 2001 From: "solo81@web.de" Date: Sat, 24 Sep 2011 13:34:08 +0000 Subject: [PATCH] Added two tests for Morbid. --- projects/mtg/bin/Res/test/_tests.txt | 2 ++ .../test/hollowhenge scavenger2_MORBID.txt | 20 ++++++++++++++++ .../Res/test/hollowhenge scavenger_MORBID.txt | 23 +++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 projects/mtg/bin/Res/test/hollowhenge scavenger2_MORBID.txt create mode 100644 projects/mtg/bin/Res/test/hollowhenge scavenger_MORBID.txt diff --git a/projects/mtg/bin/Res/test/_tests.txt b/projects/mtg/bin/Res/test/_tests.txt index 0bf94df60..8e56f4fae 100644 --- a/projects/mtg/bin/Res/test/_tests.txt +++ b/projects/mtg/bin/Res/test/_tests.txt @@ -355,6 +355,8 @@ haunting_echoes.txt hellfire.txt helm_of_kaldra1.txt high_tide.txt +hollowhenge scavenger2_MORBID.txt +hollowhenge scavenger_MORBID.txt holy_day_i226.txt hope_charm_i267.txt hopping_automaton_i232.txt diff --git a/projects/mtg/bin/Res/test/hollowhenge scavenger2_MORBID.txt b/projects/mtg/bin/Res/test/hollowhenge scavenger2_MORBID.txt new file mode 100644 index 000000000..a75a0342a --- /dev/null +++ b/projects/mtg/bin/Res/test/hollowhenge scavenger2_MORBID.txt @@ -0,0 +1,20 @@ +#NAME: Hollowhenge Scavenger +#DESC: Morbid - When Hollowhenge Scavenger enters the battlefield, if a creature died this turn, you gain 5 life. +#Test 1: Cast Hollowhenge Scavenger without morbid. You should not gain any life. +[INIT] +firstmain +[PLAYER1] +hand:Hollowhenge Scavenger +manapool:{3}{G}{G} +inplay: +life:20 +[PLAYER2] +[DO] +Hollowhenge Scavenger +[ASSERT] +firstmain +[PLAYER1] +inplay:Hollowhenge Scavenger +life:20 +[PLAYER2] +[END] diff --git a/projects/mtg/bin/Res/test/hollowhenge scavenger_MORBID.txt b/projects/mtg/bin/Res/test/hollowhenge scavenger_MORBID.txt new file mode 100644 index 000000000..b0779bad8 --- /dev/null +++ b/projects/mtg/bin/Res/test/hollowhenge scavenger_MORBID.txt @@ -0,0 +1,23 @@ +#NAME: Hollowhenge Scavenger +#DESC: Morbid - When Hollowhenge Scavenger enters the battlefield, if a creature died this turn, you gain 5 life. +#Test 1: Cast Hollowhenge Scavenger after a creature dies (morbid => true). +[INIT] +firstmain +[PLAYER1] +hand:Shock,Hollowhenge Scavenger +manapool:{3}{G}{G}{R} +inplay:Llanowar Elves +life:20 +[PLAYER2] +[DO] +Shock +Llanowar Elves +Hollowhenge Scavenger +[ASSERT] +firstmain +[PLAYER1] +graveyard:Llanowar Elves,Shock +inplay:Hollowhenge Scavenger +life:25 +[PLAYER2] +[END]