Table of Contents

Class AnvilItemContainerTests

Namespace
GrindFest
Assembly
GrindFest.dll

Anvil item container migration tests. These tests use ONLY bot API (DropInto, InteractWith) to place items and craft. They verify observable outcomes (items produced, items consumed) — NOT internal storage.

Purpose: safety net for migrating CraftingStationBehaviour.Items → InventoryContainerBehaviour. All tests should pass BEFORE and AFTER the migration.

public class AnvilItemContainerTests : DevTest
Inheritance
object
AnvilItemContainerTests
Inherited Members

Methods

DropItemOnAnvil()

Drop a single iron ingot on the anvil via DropInto. Verify the item is physically at the station. Heavy items (ingots) must be on ground — DropInto handles pickup automatically.

DropTwoItemsOnAnvil()

Drop two items (sword + ingot) on the anvil sequentially via DropInto. Verify both items are at the station. All items given before drops: heavy first (equips), then non-heavy (inventory).

RepairWeaponViaDropInto()

Full repair flow using only bot API: DropInto ingot → DropInto sword → InteractWith anvil → repaired sword on ground. All items given before drops: heavy first (equips), then non-heavy (inventory).

SocketGemViaDropInto()

Socket a gem into a weapon using only bot API: DropInto weapon → DropInto gem → InteractWith anvil → socketed weapon.