From dbd7f82eabac421cb1f63b138654ee23ba349ab8 Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Mon, 24 Aug 2015 10:03:34 +0800 Subject: [PATCH] added tokenizer test --- projects/mtg/bin/Res/test/tokenizer.txt | 29 ++++++++++++++++++++++++ projects/mtg/bin/Res/test/tokenizer2.txt | 27 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 projects/mtg/bin/Res/test/tokenizer.txt create mode 100644 projects/mtg/bin/Res/test/tokenizer2.txt diff --git a/projects/mtg/bin/Res/test/tokenizer.txt b/projects/mtg/bin/Res/test/tokenizer.txt new file mode 100644 index 000000000..96875f319 --- /dev/null +++ b/projects/mtg/bin/Res/test/tokenizer.txt @@ -0,0 +1,29 @@ +# Testing Tokenizer - Parallel Lives (ISD) 249662 +# Dragon Fodder (ALA) 174936 +# text=Put two 1/1 red Goblin creature tokens into play. +# Tokens must be 2.. since there are no tokenizer. +[INIT] +FIRSTMAIN +[PLAYER1] +hand:174936 +manapool:{R}{1} +inplay:249662 +[PLAYER2] +hand:Demystify +manapool:{W} +[DO] +174936 +no +yes +Demystify +249662 +endinterruption +[ASSERT] +FIRSTMAIN +[PLAYER1] +graveyard:249662,174936 +inplay:-174936,-174936 +[PLAYER2] +graveyard:Demystify +life:20 +[END] \ No newline at end of file diff --git a/projects/mtg/bin/Res/test/tokenizer2.txt b/projects/mtg/bin/Res/test/tokenizer2.txt new file mode 100644 index 000000000..0f413c291 --- /dev/null +++ b/projects/mtg/bin/Res/test/tokenizer2.txt @@ -0,0 +1,27 @@ +# Testing Tokenizer - Parallel Lives (ISD) 249662 +# Dragon Fodder (ALA) 174936 +# text=Put two 1/1 red Goblin creature tokens into play. +# Tokens must be 8.. since there are two tokenizer... original value +# is 2 with first tokenizer it will become 4, with the second tokenizer +# the value will be 8... +[INIT] +FIRSTMAIN +[PLAYER1] +hand:174936 +manapool:{R}{1} +inplay:249662,249662 +[PLAYER2] +inplay:plains +hand:Demystify +[DO] +174936 +[ASSERT] +FIRSTMAIN +[PLAYER1] +graveyard:174936 +inplay:249662,249662,-174936,-174936,-174936,-174936,-174936,-174936,-174936,-174936 +[PLAYER2] +hand:Demystify +inplay:plains +life:20 +[END] \ No newline at end of file