From 327b43d209055fd4d94782360a16cf934ac87ca1 Mon Sep 17 00:00:00 2001 From: "solo81@web.de" Date: Sun, 29 Aug 2010 15:08:05 +0000 Subject: [PATCH] Added the 3 missing tests from last revision. --- projects/mtg/bin/Res/test/conservator.txt | 23 ++++++++++++++ projects/mtg/bin/Res/test/safe passage.txt | 25 ++++++++++++++++ projects/mtg/bin/Res/test/samite_healer.txt | 33 +++++++++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 projects/mtg/bin/Res/test/conservator.txt create mode 100644 projects/mtg/bin/Res/test/safe passage.txt create mode 100644 projects/mtg/bin/Res/test/samite_healer.txt diff --git a/projects/mtg/bin/Res/test/conservator.txt b/projects/mtg/bin/Res/test/conservator.txt new file mode 100644 index 000000000..80d95ba93 --- /dev/null +++ b/projects/mtg/bin/Res/test/conservator.txt @@ -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] \ No newline at end of file diff --git a/projects/mtg/bin/Res/test/safe passage.txt b/projects/mtg/bin/Res/test/safe passage.txt new file mode 100644 index 000000000..327815621 --- /dev/null +++ b/projects/mtg/bin/Res/test/safe passage.txt @@ -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] \ No newline at end of file diff --git a/projects/mtg/bin/Res/test/samite_healer.txt b/projects/mtg/bin/Res/test/samite_healer.txt new file mode 100644 index 000000000..5d8b3e482 --- /dev/null +++ b/projects/mtg/bin/Res/test/samite_healer.txt @@ -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] \ No newline at end of file