public void TestCreateMithralWeapon() { WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger"); ExtraordinaryQualityWeapon mithralWeapon = WeaponItemSmith.OrderSpecialComponent(weapon, "Mithral"); Approvals.Verify(DisplayUtilities.BasicDisplay(mithralWeapon)); }
public void TestCreateColdIronWeapon() { WeaponItem weapon = WeaponItemSmith.OrderItem("Short Sword"); ExtraordinaryQualityWeapon ironWeapon = WeaponItemSmith.OrderSpecialComponent(weapon, "Cold Iron"); Approvals.Verify(DisplayUtilities.BasicDisplay(ironWeapon)); }
public void TestCreateAlchemicalSilverWeapon() { WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger"); ExtraordinaryQualityWeapon silverWeapon = WeaponItemSmith.OrderSpecialComponent(weapon, "Silver"); Approvals.Verify(DisplayUtilities.BasicDisplay(silverWeapon)); }
public void TestSmallAdamantineWeapon() { var weapon = WeaponItemSmith.OrderItem("Dagger"); var sizedWeapon = WeaponItemSmith.SizeWeapon(weapon, "Small"); var adamantineWeapon = WeaponItemSmith.OrderSpecialComponent(sizedWeapon, "Adamantine"); Approvals.Verify(DisplayUtilities.BasicDisplay(adamantineWeapon)); }
public void TestCreateMagicDarkwoodWeapon() { WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger"); ExtraordinaryQualityWeapon darkwoodWeapon = WeaponItemSmith.OrderSpecialComponent(weapon, "Darkwood"); MagicWeaponItem magicWeapon = new MagicWeaponItem(darkwoodWeapon, 1); Approvals.Verify(DisplayUtilities.BasicMagicalDisplay(magicWeapon)); }
public void TestFlamingMithralItem() { WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger"); ExtraordinaryQualityWeapon mithralWeapon = WeaponItemSmith.OrderSpecialComponent(weapon, "Mithral"); MagicWeaponItem magicWeapon = new MagicWeaponItem(mithralWeapon, 1); EnchantedWeaponItem enchantedWeapon = WeaponEnchanter.RequestEnchantment(magicWeapon, "Flaming"); Approvals.Verify(DisplayUtilities.FullMagicalDisplay(enchantedWeapon)); }
public void TestExtraordinaryComponentNotInListThrowsException() { WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger"); WeaponItemSmith.OrderSpecialComponent(weapon, "Shiny Thing"); }
public void TestExtraordinaryNameEmptyThrowsError() { WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger"); WeaponItemSmith.OrderSpecialComponent(weapon, string.Empty); }