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); }