public void DefaultMaterial_Medium_Masterwork() { // Arrange var armor = new PaddedArmor(SizeCategory.Medium) { IsMasterwork = true }; // Assert Assert.AreEqual(0, armor.ArmorCheckPenalty()); Assert.AreEqual(155, armor.MundaneMarketPrice()); Assert.AreEqual("Masterwork Padded Armor", armor.ToString()); }
public void DefaultMaterial_Large() { // Arrange var armor = new PaddedArmor(SizeCategory.Large); // Assert Assert.IsFalse(armor.IsMasterwork); Assert.AreEqual(1, armor.ArmorCheckPenalty()); Assert.AreEqual(8, armor.MaximumDexterityBonus()); Assert.AreEqual(0, armor.SpeedPenalty); Assert.AreEqual(20, armor.GetWeight()); Assert.AreEqual(10, armor.MundaneMarketPrice()); Assert.AreEqual(Cloth.Hardness, armor.Hardness.MaterialHardness); Assert.AreEqual("Padded Armor", armor.ToString()); }