public void Adamantine_Small_Default() { // Arrange var armor = new FullPlate(SizeCategory.Small, FullPlateMaterial.Adamantine); // Assert Assert.IsTrue(armor.IsMasterwork); Assert.IsFalse(armor.MasterworkIsToggleable); Assert.AreEqual(9, armor.GetArmorBonus()); Assert.AreEqual(5, armor.ArmorCheckPenalty()); Assert.AreEqual(1, armor.MaximumDexterityBonus()); Assert.AreEqual(16_500, armor.GetMarketPrice()); Assert.AreEqual(25, armor.GetWeight()); Assert.AreEqual(0.25, armor.SpeedPenalty); Assert.AreEqual("Adamantine Full Plate", armor.ToString()); }
public void Dragonhide_Large() { // Arrange var armor = new FullPlate(SizeCategory.Large, DragonhideColor.Red); // Assert Assert.IsTrue(armor.IsMasterwork); Assert.IsFalse(armor.MasterworkIsToggleable); Assert.AreEqual(5, armor.ArmorCheckPenalty()); Assert.AreEqual(1, armor.MaximumDexterityBonus()); Assert.AreEqual(.25, armor.SpeedPenalty); Assert.AreEqual(100, armor.GetWeight()); Assert.AreEqual(6300, armor.MundaneMarketPrice()); Assert.AreEqual(Dragonhide.Hardness, armor.Hardness.MaterialHardness); Assert.AreEqual("Red Dragonhide Full Plate", armor.ToString()); }
public void Steel_Large() { // Arrange var armor = new FullPlate(SizeCategory.Large, FullPlateMaterial.Steel); // Assert Assert.IsFalse(armor.IsMasterwork); Assert.IsTrue(armor.MasterworkIsToggleable); Assert.AreEqual(9, armor.GetArmorBonus()); Assert.AreEqual(6, armor.ArmorCheckPenalty()); Assert.AreEqual(1, armor.MaximumDexterityBonus()); Assert.AreEqual(3000, armor.GetMarketPrice()); Assert.AreEqual(100, armor.GetWeight()); Assert.AreEqual(.25, armor.SpeedPenalty); Assert.AreEqual("Full Plate", armor.ToString()); }
public void Mithral_Medium() { // Arrange var armor = new FullPlate(SizeCategory.Medium, FullPlateMaterial.Mithral); // Assert Assert.IsTrue(armor.IsMasterwork); Assert.IsFalse(armor.MasterworkIsToggleable); Assert.AreEqual(9, armor.GetArmorBonus()); Assert.AreEqual(3, armor.ArmorCheckPenalty()); Assert.AreEqual(3, armor.MaximumDexterityBonus()); Assert.AreEqual(10_500, armor.GetMarketPrice()); Assert.AreEqual(25, armor.GetWeight()); Assert.AreEqual(0.25, armor.SpeedPenalty); Assert.AreEqual("Mithral Full Plate", armor.ToString()); }