static void Main(string[] args) { var p = new Pudge(); p.AddItem(new Aganim()); Console.WriteLine(p.ToString()); }
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)); }