Exemplo n.º 1
0
        public void SlashingWeaponsMatchConstants(string weapon)
        {
            var slashing    = WeaponConstants.GetAllSlashing(false, false);
            var isSlashing  = slashing.Contains(weapon);
            var hasSlashing = table[weapon].All(d => d.Contains(AttributeConstants.DamageTypes.Slashing));

            Assert.That(hasSlashing, Is.EqualTo(isSlashing), weapon);
        }