示例#1
0
        public void VictoryPointsTest()
        {
            Dwarf gimli = new Dwarf();

            DarkLord sauron = new DarkLord();

            gimli.ReceiveDamage(sauron.Attack());

            gimli.AddVictoryPoints(sauron.VictoryPoints);

            Assert.AreEqual(gimli.HealthMax, gimli.HealthActual);
        }