From eea88cdeb53c60ebbc64dfcd7f7d5d7ab8220f2d Mon Sep 17 00:00:00 2001 From: pankdm Date: Tue, 8 Oct 2013 23:18:56 +0000 Subject: [PATCH] Tests for new "fizzleto" keyword --- projects/mtg/bin/Res/test/_tests.txt | 3 ++ projects/mtg/bin/Res/test/fizzleto_exile.txt | 26 +++++++++++++++++ projects/mtg/bin/Res/test/fizzleto_hand.txt | 29 +++++++++++++++++++ .../mtg/bin/Res/test/fizzleto_librarytop.txt | 27 +++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 projects/mtg/bin/Res/test/fizzleto_exile.txt create mode 100644 projects/mtg/bin/Res/test/fizzleto_hand.txt create mode 100644 projects/mtg/bin/Res/test/fizzleto_librarytop.txt diff --git a/projects/mtg/bin/Res/test/_tests.txt b/projects/mtg/bin/Res/test/_tests.txt index fb5d80eb7..5930038a1 100644 --- a/projects/mtg/bin/Res/test/_tests.txt +++ b/projects/mtg/bin/Res/test/_tests.txt @@ -317,6 +317,9 @@ fire_tempest.txt fireball_i583.txt firebreathing.txt fists_of_ironwood.txt +fizzleto_exile.txt +fizzleto_hand.txt +fizzleto_librarytop.txt flagstones.txt flame_fusillade_i265.txt flare.txt diff --git a/projects/mtg/bin/Res/test/fizzleto_exile.txt b/projects/mtg/bin/Res/test/fizzleto_exile.txt new file mode 100644 index 000000000..cb9e4fe7a --- /dev/null +++ b/projects/mtg/bin/Res/test/fizzleto_exile.txt @@ -0,0 +1,26 @@ +# Testing fizzleto(exile) taking Dissipate as example +[INIT] +FIRSTMAIN +[PLAYER1] +hand:bad moon +manapool:{1}{B} +[PLAYER2] +hand:Dissipate +manapool:{1}{U}{U} +[DO] +bad moon +no +yes +Dissipate +bad moon +endinterruption +[ASSERT] +FIRSTMAIN +[PLAYER1] +manapool:{0} +life:20 +[PLAYER2] +graveyard:Dissipate +manapool:{0} +life:20 +[END] \ No newline at end of file diff --git a/projects/mtg/bin/Res/test/fizzleto_hand.txt b/projects/mtg/bin/Res/test/fizzleto_hand.txt new file mode 100644 index 000000000..8c240d043 --- /dev/null +++ b/projects/mtg/bin/Res/test/fizzleto_hand.txt @@ -0,0 +1,29 @@ +#Testing fizzleto(hand) taking Remand as example +[INIT] +FIRSTMAIN +[PLAYER1] +hand:bad moon +manapool:{1}{B} +[PLAYER2] +hand:Remand +manapool:{1}{U} +library:island +[DO] +bad moon +no +yes +Remand +bad moon +endinterruption +[ASSERT] +FIRSTMAIN +[PLAYER1] +hand:bad moon +manapool:{0} +life:20 +[PLAYER2] +graveyard:Remand +manapool:{0} +life:20 +hand:island +[END] \ No newline at end of file diff --git a/projects/mtg/bin/Res/test/fizzleto_librarytop.txt b/projects/mtg/bin/Res/test/fizzleto_librarytop.txt new file mode 100644 index 000000000..4933a4c4d --- /dev/null +++ b/projects/mtg/bin/Res/test/fizzleto_librarytop.txt @@ -0,0 +1,27 @@ +#Testing fizzleto(top) taking Memory Lapse as example +[INIT] +FIRSTMAIN +[PLAYER1] +hand:bad moon +manapool:{1}{B} +[PLAYER2] +hand:Memory Lapse +manapool:{1}{U} +[DO] +bad moon +no +yes +Memory Lapse +bad moon +endinterruption +[ASSERT] +FIRSTMAIN +[PLAYER1] +library:bad moon +manapool:{0} +life:20 +[PLAYER2] +graveyard:Memory Lapse +manapool:{0} +life:20 +[END] \ No newline at end of file