Class BlacksmithingTests
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
Blacksmithing system tests — anvil repair, socketing, forge smelting/salvage. Each public IEnumerator method is a separate test case.
public class BlacksmithingTests : DevTest
- Inheritance
-
objectBlacksmithingTests
- Inherited Members
Methods
- ForgeWithoutHammer()
Try to use anvil without a hammer → should fail ("I need a hammer").
- RepairWeapon()
Repair a damaged weapon: place weapon + iron ingot on anvil → weapon repaired. Durability restored to (MaxDurability × 0.9).
- RepairWithoutIngot()
Place only a weapon on anvil (no ingot) → crafting fails, "Nothing I can do".