From 2fdf538014a00a70f667ec72c5c444a29b122cfe Mon Sep 17 00:00:00 2001 From: "techdragon.nguyen@gmail.com" Date: Mon, 13 Dec 2010 16:58:37 +0000 Subject: [PATCH] Added another test for 559 to verify cards like Halcyon Glaze works as specified. Note this particular aspect of the "becomes" ability was not broken prior to the fix for 559. This is a sanity check as it has nothing to do with color change. but tests ability changes due to "becomes" ability. Issue: 559 --- projects/mtg/bin/Res/test/_tests.txt | 1 + .../test/generic/becomes_transform_i559_2.txt | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 projects/mtg/bin/Res/test/generic/becomes_transform_i559_2.txt diff --git a/projects/mtg/bin/Res/test/_tests.txt b/projects/mtg/bin/Res/test/_tests.txt index d4510ec5f..29e5462f5 100644 --- a/projects/mtg/bin/Res/test/_tests.txt +++ b/projects/mtg/bin/Res/test/_tests.txt @@ -3,6 +3,7 @@ ######################## generic/attacks_each_turn.txt generic/becomes_transform_i559.txt +generic/becomes_transform_i559_2.txt generic/bushido_1.txt generic/bushido_2.txt generic/cycling.txt diff --git a/projects/mtg/bin/Res/test/generic/becomes_transform_i559_2.txt b/projects/mtg/bin/Res/test/generic/becomes_transform_i559_2.txt new file mode 100644 index 000000000..f4b3bd250 --- /dev/null +++ b/projects/mtg/bin/Res/test/generic/becomes_transform_i559_2.txt @@ -0,0 +1,37 @@ +#NAME: Test becomes ability +#Test: verify that creature gets flying +#BUG: #559 Halcyon Glaze does not get flying from casting Grizzly Bears +# Cast Grizzly Bears with Halcyon Glaze and Moat in play +# Attack with Halcyon Glaze +# Cast Plummet on Halcyon Glaze +#This was reported in the forums as an issue. This just is a sanity check to make sure Becomes works as specified. +# see http://code.google.com/p/wagic/issues/detail?id=559 +[INIT] +firstmain +[PLAYER1] +hand:plummet +inplay:Halcyon Glaze,Grizzly Bears,forest,island +manapool:{G}{G}{G}{G} +[PLAYER2] +inplay:Moat +[DO] +next +next +Halcyon Glaze +Grizzly Bears +next +next +next +forest +island +plummet +Halcyon Glaze +eot +[ASSERT] +firstmain +[PLAYER1] +graveyard:Halcyon Glaze,plummet +manapool={0} +inplay:island,forest,Grizzly Bears +[PLAYER2] +[END] \ No newline at end of file