public void TestDisplayMaxEnhancedWeaponItem() { WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger"); MagicWeaponItem magicWeapon = new MagicWeaponItem(weapon, 5); Approvals.Verify(DisplayUtilities.FullMagicalDisplay(magicWeapon)); }
public void TestCreateMagicWeapon() { WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger"); MagicWeaponItem magicWeapon = new MagicWeaponItem(weapon, 1); Approvals.Verify(DisplayUtilities.BasicMagicalDisplay(magicWeapon)); }
public void TestCreateMithralWeapon() { WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger"); ExtraordinaryQualityWeapon mithralWeapon = WeaponItemSmith.OrderSpecialComponent(weapon, "Mithral"); Approvals.Verify(DisplayUtilities.BasicDisplay(mithralWeapon)); }
public void TestMasterworkOrder() { WeaponOrder weapon = WeaponItemSmith.OrderBlah("Dagger"); MasterworkWeaponItem masterworkWeapon = WeaponItemSmith.OrderBlah(weapon, "Masterwork"); Approvals.Verify(masterworkWeapon.ToString()); }
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 TestLargeSizeWeapon() { WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger"); WeaponItem sizedWeapon = WeaponItemSmith.SizeWeapon(weapon, "Large"); Approvals.Verify(DisplayUtilities.BasicDisplay(sizedWeapon)); }
public void TestWeaponEnchanter() { WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger"); MagicWeaponItem magicWeapon = new MagicWeaponItem(weapon, 1); EnchantedWeaponItem enchantedWeapon = WeaponEnchanter.RequestEnchantment(magicWeapon, "Flaming"); Approvals.Verify(DisplayUtilities.FullMagicalDisplay(enchantedWeapon)); }
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 TestLargePlus3Weapon() { WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger"); WeaponItem sizedWeapon = WeaponItemSmith.SizeWeapon(weapon, "Large"); MagicWeaponItem magicWeapon = new MagicWeaponItem(sizedWeapon, 3); Approvals.Verify(DisplayUtilities.FullMagicalDisplay(magicWeapon)); }
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 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 TestEnhancementBonusIsMoreThanPlusTen() { WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger"); MagicWeaponItem magicWeapon = new MagicWeaponItem(weapon, 5); EnchantedWeaponItem flamingWeapon = WeaponEnchanter.RequestEnchantment(magicWeapon, "Flaming"); EnchantedWeaponItem icyBurstWeapon = WeaponEnchanter.RequestEnchantment(flamingWeapon, "Icy Burst"); WeaponEnchanter.RequestEnchantment(icyBurstWeapon, "Vorpal"); }
public void TestLargePlus3FlamingWeapon() { WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger"); WeaponItem sizedWeapon = WeaponItemSmith.SizeWeapon(weapon, "Large"); MagicWeaponItem magicWeapon = new MagicWeaponItem(sizedWeapon, 3); EnchantedWeaponItem enchantedWeapon = WeaponEnchanter.RequestEnchantment(magicWeapon, "Flaming"); Approvals.Verify(DisplayUtilities.FullMagicalDisplay(enchantedWeapon)); }
public void TestCreateWeapon() { var weapon = WeaponItemSmith.OrderItem("Dagger"); Approvals.Verify(DisplayUtilities.BasicDisplay(weapon)); }
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); }
public void TestMagicEnhancementLessThanOneThrowsError() { WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger"); new MagicWeaponItem(weapon, -1); }
public void TestWeaponNotInListThrowsException() { WeaponItemSmith.OrderItem("Awesome Blade"); }
public void TestWeaponNameEmptyThrowsError() { WeaponItemSmith.OrderItem(string.Empty); }
public void TestWeaponOrder() { WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger"); Approvals.Verify(DisplayUtilities.BasicDisplay(weapon)); }