Esempio n. 1
0
        public static string testZapp(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.ZappSlywick));

            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DragonspawnLieutenant));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DragonspawnLieutenant));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.BaronRivendare));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.BaronRivendare).setPoisonous(true));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p2Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DragonspawnLieutenant), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.BaronRivendare)
            };
            expected.Add(exp1);

            HearthstoneBoard exp2 = new HearthstoneBoard();

            exp2.p2Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DragonspawnLieutenant)
            };
            expected.Add(exp2);

            return("test zapp targeting");
        }
        public static string testCase0(BoardSide b1, BoardSide b2)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.KaboomBot));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus).setStats(10, 10));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DireWolfAlpha));



            return("RandTest");
        }
        public static string testCase1(BoardSide b1, BoardSide b2)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DireWolfAlpha));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DireWolfAlpha));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DireWolfAlpha).setStats(10, 10));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DireWolfAlpha));



            return("Test 1");
        }
Esempio n. 4
0
        public static string testJuggler(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Voidwalker));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.SoulJuggler));

            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.KaboomBot).setStats(3, 3));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            expected.Add(exp1);
            return("test soul juggler");
        }
Esempio n. 5
0
        public static string testRatPack(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RatPack).setStats(3, 2));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DireWolfAlpha));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DireWolfAlpha));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RatToken), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RatToken), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RatToken), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RatToken), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DireWolfAlpha)
            };
            expected.Add(exp1);
            return("test ratpack");
        }
Esempio n. 6
0
        public static string testSelfless(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.SelflessHero));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DireWolfAlpha));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DireWolfAlpha)
            };
            expected.Add(exp1);
            return("test selfless hero");
        }
Esempio n. 7
0
        public static string testDeathBuff(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.SpawnOfNzoth));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DireWolfAlpha));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DireWolfAlpha).setStats(3, 1)
            };
            expected.Add(exp1);
            return("test deathbuff");
        }
Esempio n. 8
0
        public static string testKaboom(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.KaboomBot));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Annoyomodule));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Annoyomodule).setDivineShield(false));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p2Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Annoyomodule).setDivineShield(false)
            };
            expected.Add(exp1);
            return("test kaboom");
        }
Esempio n. 9
0
        public static string testGlyphGuardian(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.GlyphGuardian));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Alleycat).setStats(1, 6));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus));
            // b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RedWhelp));



            HearthstoneBoard exp1 = new HearthstoneBoard();

            expected.Add(exp1);
            return("test glyph guardian");
        }
Esempio n. 10
0
        public static string testCase0(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RighteousProtector));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DireWolfAlpha));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DireWolfAlpha)
            };
            expected.Add(exp1);
            return("Test 1");
        }
Esempio n. 11
0
        public static string testAmalgamWax(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Amalgam));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.WaxriderTogwaggle));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Alleycat));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.WaxriderTogwaggle).setStats(3, 4)
            };
            expected.Add(exp1);

            return("test amalgam and wax");
        }
Esempio n. 12
0
        public static string testDeathBeastBuff(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Goldrinn));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Alleycat));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Goldrinn).setStats(5, 5));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Alleycat).setStats(5, 5)
            };
            expected.Add(exp1);
            return("test beastbuffdeath");
        }
Esempio n. 13
0
        public static string testMackerel(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.HolyMackerel).setDivineShield(true));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RighteousProtector));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RighteousProtector));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.HolyMackerel).setDivineShield(true), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RighteousProtector).setDivineShield(false)
            };
            expected.Add(exp1);

            return("test mackerel");
        }
Esempio n. 14
0
        public static string testCoilerBaron(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.SavannahHighmane).setStats(7, 7));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.BaronRivendare));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.IronhideDirehorn));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Hyena), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Hyena), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Hyena), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Hyena), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.BaronRivendare)
            };
            expected.Add(exp1);

            return("test baron doublesummon");
        }
Esempio n. 15
0
        public static string testOverkillIronhide(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.IronhideDirehorn));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus).setStats(1, 3));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus).setStats(1, 20));


            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.IronhideDirehorn).setStats(7, 3), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.IronhideToken)
            };
            expected.Add(exp1);
            return("test overkill ironhide");
        }
Esempio n. 16
0
        public static string testKhadgar3(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.KindlyGrandmother));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Khadgar));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.ImpToken));


            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.GMToken), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.GMToken), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Khadgar)
            };
            expected.Add(exp1);

            return("test khadgar 3");
        }
Esempio n. 17
0
        public static string testTheBeast(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Alleycat));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.TheBeast).setTaunt(true));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.MechanoEgg));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus).setStats(9, 9));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.IronSensei));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.EggToken).setStats(8, 3)
            };
            expected.Add(exp1);
            return("test the beast");
        }
Esempio n. 18
0
        public static string testWaxrider(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DragonspawnLieutenant));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.WaxriderTogwaggle));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Alleycat));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.IronSensei));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.IronSensei));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.WaxriderTogwaggle).setStats(5, 4)
            };
            expected.Add(exp1);
            return("test waxrider");
        }
Esempio n. 19
0
        public static string testMamaBear(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RatPack));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.MamaBear));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Mecharoo).setTaunt(true));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus).setStats(3, 3));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RatToken).setStats(6, 6), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RatToken).setStats(6, 6),
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.MamaBear), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.MecharooToken)
            };
            expected.Add(exp1);
            return("test mama bear");
        }
Esempio n. 20
0
        public static string testCobalt(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Deflectobot));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Mecharoo).setTaunt(true));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.ShieldedMinibot));


            HearthstoneBoard exp2 = new HearthstoneBoard();

            exp2.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Deflectobot).setStats(4, 2)
            };

            expected.Add(exp2);
            return("test deflectobot");
        }
Esempio n. 21
0
        public static string testSoT(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RedWhelp));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RedWhelp));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RedWhelp));
            // b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RedWhelp));



            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RedWhelp), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RedWhelp)
            };
            expected.Add(exp1);
            return("test red whelp start of turn");
        }
Esempio n. 22
0
        public static string testWindfury(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.MurlocTidehunter).setWindfury(true));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DragonspawnLieutenant).setStats(2, 1));

            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.DragonspawnLieutenant));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.IronSensei).setStats(2, 4));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.IronhideDirehorn).setStats(3, 3).setWindfury(true));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.IronhideToken)
            };
            expected.Add(exp1);
            return("test windfury");
        }
Esempio n. 23
0
        public static string testGhoul(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.UnstableGhoul).setStats(2, 2));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Mecharoo));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Annoyomodule));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Mecharoo));



            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p2Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Annoyomodule).setStats(2, 2).setDivineShield(false), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.MecharooToken)
            };
            expected.Add(exp1);
            return("test ghoul");
        }
Esempio n. 24
0
        public static string testNadina(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.NadinaTheRed));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.GlyphGuardian));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Alleycat));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.CaveHydra).setStats(4, 4));



            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.GlyphGuardian).setDivineShield(true), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Alleycat)
            };
            expected.Add(exp1);
            return("test nadina");
        }
Esempio n. 25
0
        public static string testJunkbot(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.IronSensei).setTaunt(true));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Junkbot));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus).setStats(2, 2));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.ScavengingHyena));



            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Junkbot).setStats(3, 5)
            };
            expected.Add(exp1);
            return("test junkbot");
        }
Esempio n. 26
0
        public static string testSelflessGolden(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createGoldenFromName(CardCreatorFactory.Cards.SelflessHero));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Annoyomodule));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.IronSensei));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.IronSensei));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.IronSensei));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Annoyomodule).setDivineShield(false), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.IronSensei).setDivineShield(true)
            };
            expected.Add(exp1);

            return("test golden selfless");
        }
Esempio n. 27
0
        public static string testCleaveDR(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Alleycat));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.SavannahHighmane));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus).setStats(10, 10));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RatPack).setStats(6, 6));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.CaveHydra).setStats(10, 10));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Hyena), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Hyena), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RatToken), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RatToken), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RatToken),
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RatToken), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.RatToken)
            };
            expected.Add(exp1);

            return("test cleave deathrattle");
        }
Esempio n. 28
0
        public static string testOverkillDragon(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.HeraldOfFlame));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Alleycat));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Alleycat));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Alleycat));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus));



            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.HeraldOfFlame).setStats(5, 3)
            };
            expected.Add(exp1);
            return("test overkill dragon");
        }
Esempio n. 29
0
        public static string testBolvar(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.BolvarFireblood));


            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus).setStats(4, 3));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.BolvarFireblood));



            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p2Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.BolvarFireblood).setStats(3, 4).setDivineShield(false)
            };
            expected.Add(exp1);
            return("test bolvar");
        }
Esempio n. 30
0
        public static string testMalGanis(BoardSide b1, BoardSide b2, List <HearthstoneBoard> expected)
        {
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.ImpGangBoss));
            b1.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.MalGanis).setTaunt(true));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus).setStats(2, 2));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus).setStats(2, 2));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus).setStats(2, 2));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.VulgarHomunculus).setStats(2, 2));
            b2.Add(CardCreatorFactory.createFromName(CardCreatorFactory.Cards.Maexxna));

            HearthstoneBoard exp1 = new HearthstoneBoard();

            exp1.p1Board = new BoardSide {
                CardCreatorFactory.createFromName(CardCreatorFactory.Cards.ImpGangBoss).setStats(2, 2), CardCreatorFactory.createFromName(CardCreatorFactory.Cards.ImpToken)
            };
            expected.Add(exp1);
            return("test mal'ganis");
        }