Exemple #1
0
        public void CalculateElementalEffectsTest(Elements element, int damage, int result)
        {
            List <Move> charmenderMoves = new List <Move>();

            charmenderMoves.Add(new Move("Ember"));
            charmenderMoves.Add(new Move("Fire Blast"));
            Pokemon charmender = new Pokemon("Charmender", 3, 52, 53, 39, Elements.Fire, charmenderMoves);

            int res = charmender.CalculateElementalEffects(damage, element);

            Assert.AreEqual <int>(res, result);
        }