示例#1
0
        public void TestPureMonsterFightWizardOrk()
        {
            var wizard = new Wizard()
            {
                Damage = 20
            };
            var ork = new Ork()
            {
                Damage = 20
            };

            int wizardDamage = wizard.CalculateDamage(ork);
            int orkDamage    = ork.CalculateDamage(wizard);

            // no element type effectiveness applies
            // orks don't attack wizards
            Assert.AreEqual(20, wizardDamage);
            Assert.AreEqual(0, orkDamage);
        }