From f1d88611cb24611b07e741fe88c122a286325b3f Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Tue, 18 Jun 2013 01:42:49 +0000 Subject: [PATCH] updated test to adjust for new legendary rules --- projects/mtg/bin/Res/test/_tests.txt | 2 -- .../Res/test/animated_legendaries1_i221.txt | 5 ++-- .../Res/test/animated_legendaries2_i221.txt | 23 ------------------- .../Res/test/animated_legendaries3_i221.txt | 22 ------------------ .../mtg/bin/Res/test/generic/legendary.txt | 8 +++++-- 5 files changed, 8 insertions(+), 52 deletions(-) delete mode 100644 projects/mtg/bin/Res/test/animated_legendaries2_i221.txt delete mode 100644 projects/mtg/bin/Res/test/animated_legendaries3_i221.txt diff --git a/projects/mtg/bin/Res/test/_tests.txt b/projects/mtg/bin/Res/test/_tests.txt index 257c3e339..143ff2ed0 100644 --- a/projects/mtg/bin/Res/test/_tests.txt +++ b/projects/mtg/bin/Res/test/_tests.txt @@ -131,8 +131,6 @@ animate_dead.txt animate_dead2.txt animate_dead3.txt animated_legendaries1_i221.txt -animated_legendaries2_i221.txt -animated_legendaries3_i221.txt ankh_of_mishra.txt Apex_Hawks_MULTIKICKER.txt arcanis_the_omnipotent.txt diff --git a/projects/mtg/bin/Res/test/animated_legendaries1_i221.txt b/projects/mtg/bin/Res/test/animated_legendaries1_i221.txt index cb28a6a03..5b1403e0b 100644 --- a/projects/mtg/bin/Res/test/animated_legendaries1_i221.txt +++ b/projects/mtg/bin/Res/test/animated_legendaries1_i221.txt @@ -30,8 +30,7 @@ next [ASSERT] firstmain [PLAYER1] -graveyard:Animate Dead +inplay:106426,Animate Dead [PLAYER2] -inplay:2743,2744,2745,1392,1393,1394 -graveyard:39932,106426 +inplay:2743,2744,2745,1392,1393,1394,39932 [END] diff --git a/projects/mtg/bin/Res/test/animated_legendaries2_i221.txt b/projects/mtg/bin/Res/test/animated_legendaries2_i221.txt deleted file mode 100644 index 63692f773..000000000 --- a/projects/mtg/bin/Res/test/animated_legendaries2_i221.txt +++ /dev/null @@ -1,23 +0,0 @@ -#NAME: Animated Legendaries 2 -#DESC: Legendary creatures with "Animate Dead" cast -#DESC: on them don't get buried ny the Legendary rule. -#DESC: The script animates a legend, afterwards the -#DESC: *same* player plays the same legend. -#DESC: See http://code.google.com/p/wagic/issues/detail?id=221 -[INIT] -firstmain -[PLAYER1] -graveyard:106426 -hand:39932,Animate Dead -manapool:{B}{B}{U}{U}{U}{U}{U}{U} -[PLAYER2] -[DO] -Animate Dead -106426 -39932 -[ASSERT] -firstmain -[PLAYER1] -graveyard:Animate Dead,39932,106426 -[PLAYER2] -[END] diff --git a/projects/mtg/bin/Res/test/animated_legendaries3_i221.txt b/projects/mtg/bin/Res/test/animated_legendaries3_i221.txt deleted file mode 100644 index 6b00e3a7e..000000000 --- a/projects/mtg/bin/Res/test/animated_legendaries3_i221.txt +++ /dev/null @@ -1,22 +0,0 @@ -#NAME: Animated Legendaries 3 -#DESC: Legendary creatures with "Animate Dead" cast -#DESC: on them don't get buried ny the Legendary rule. -#DESC: This script just tests whether the same legendary -#DESC: (with different IDs) is correctly affected by -#DESC: the Legendary rule if no Animate Dead is involved. -#DESC: See http://code.google.com/p/wagic/issues/detail?id=221 -[INIT] -firstmain -[PLAYER1] -inplay:106426 -hand:39932 -manapool:{U}{U}{U}{U}{U}{U} -[PLAYER2] -[DO] -39932 -[ASSERT] -firstmain -[PLAYER1] -graveyard:39932,106426 -[PLAYER2] -[END] diff --git a/projects/mtg/bin/Res/test/generic/legendary.txt b/projects/mtg/bin/Res/test/generic/legendary.txt index 2c1aa34e4..44a74aa94 100644 --- a/projects/mtg/bin/Res/test/generic/legendary.txt +++ b/projects/mtg/bin/Res/test/generic/legendary.txt @@ -1,4 +1,4 @@ -#TestingLegendary with Ascendant Evincar +#TestingLegendary with Ascendant Evincar testing that both players can have 1 out. [INIT] FIRSTMAIN [PLAYER1] @@ -6,13 +6,17 @@ hand:106525 inplay:106525 manapool:{4}{B}{B} [PLAYER2] +inplay:22897 [DO] 106525 +choice 0 [ASSERT] FIRSTMAIN [PLAYER1] -graveyard:106525,106525 +inplay:106525 +graveyard:* manapool:{0} [PLAYER2] +inplay:22897 life:20 [END] \ No newline at end of file