Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var p = new Pudge();

            p.AddItem(new Aganim());
            Console.WriteLine(p.ToString());
        }
Ejemplo n.º 2
0
        public void ÑalculatePowerOfHero_Returned_int_39()
        {
            var hero = new Pudge();

            hero.AddItem(new Aganim());
            var expected = (Logic.ÑalculatePowerOfItems(hero.Items) + hero.Agility + hero.Strength + hero.Intelligence) / 3 + hero.Items.Count;

            Assert.AreEqual(expected, Logic.CalculatePowerOfHero(hero));
        }