public void TestValidityOfHand()
        {
            bool containsAll = true;
            Hero heroTest = new Haka();

            foreach (var card in heroTest.getPlayerHand())
            {
                List<string> cardList = getDeckCardsString(heroTest);
                containsAll = containsAll && cardList.Contains(card.getName());
            }
            Assert.True(containsAll);
        }
        public void TestPower()
        {
            Start game = new Start();
            game.beginGame();
            Haka haka = new Haka();

            haka.Power();

            Assert.AreEqual(38, GameEngine.getVillain().lifeTotal);
        }
        public void TestMere()
        {
            GameEngine.TearDownGameEngine();
            Haka testHaka= new Haka();
            BaronBlade testVil = new BaronBlade();
            InsulaPrimus env = new InsulaPrimus();
            List<Hero> myHeroes = new List<Hero>() { testHaka };
            typeof(GameEngine).GetField("heroes", BindingFlags.Static| BindingFlags.NonPublic).SetValue(null, myHeroes);
            typeof(GameEngine).GetField("villain", BindingFlags.Static | BindingFlags.NonPublic).SetValue(null, testVil);
            typeof(GameEngine).GetField("environment", BindingFlags.Static | BindingFlags.NonPublic).SetValue(null, env);
            Card mere= new Card("Images\\Hero\\Haka\\3-Mere.png");

            //deals damage to villain because cardClickedArray is empty
            GameBoard.cardClickedArray = new List<Card>();
            testHaka.MerePower(mere, null);

            Assert.AreEqual(5, testHaka.hand.Count);
            Assert.AreNotEqual(GameEngine.getVillain().maxHealth, GameEngine.getVillain().lifeTotal);
        }