public void Mithral_Large() { // Arrange var armor = new ChainShirt(SizeCategory.Large, ChainShirtMaterial.Mithral); // Assert Assert.IsTrue(armor.IsMasterwork); Assert.IsFalse(armor.MasterworkIsToggleable); Assert.AreEqual(4, armor.GetArmorBonus()); Assert.AreEqual(0, armor.ArmorCheckPenalty()); Assert.AreEqual(6, armor.MaximumDexterityBonus()); Assert.AreEqual(1200, armor.GetMarketPrice()); Assert.AreEqual(25, armor.GetWeight()); Assert.AreEqual(0, armor.SpeedPenalty); Assert.AreEqual("Mithral Chain Shirt", armor.ToString()); }
public void Steel_Medium() { // Arrange var armor = new ChainShirt(SizeCategory.Medium, ChainShirtMaterial.Steel); // Assert Assert.IsFalse(armor.IsMasterwork); Assert.IsTrue(armor.MasterworkIsToggleable); Assert.AreEqual(4, armor.GetArmorBonus()); Assert.AreEqual(2, armor.ArmorCheckPenalty()); Assert.AreEqual(4, armor.MaximumDexterityBonus()); Assert.AreEqual(100, armor.GetMarketPrice()); Assert.AreEqual(25, armor.GetWeight()); Assert.AreEqual(0, armor.SpeedPenalty); Assert.AreEqual("Chain Shirt", armor.ToString()); }
public void Adamantine_Large_Default() { // Arrange var armor = new ChainShirt(SizeCategory.Large, ChainShirtMaterial.Adamantine); // Assert Assert.IsTrue(armor.IsMasterwork); Assert.IsFalse(armor.MasterworkIsToggleable); Assert.AreEqual(4, armor.GetArmorBonus()); Assert.AreEqual(1, armor.ArmorCheckPenalty()); Assert.AreEqual(4, armor.MaximumDexterityBonus()); Assert.AreEqual(5200, armor.GetMarketPrice()); Assert.AreEqual(50, armor.GetWeight()); Assert.AreEqual(0, armor.SpeedPenalty); Assert.AreEqual("Adamantine Chain Shirt", armor.ToString()); }