public void IsFullReturnsFalseWithNewInventory() { Inventory inventory = new Inventory(); bool isFull = inventory.IsFull(); Assert.IsFalse(isFull); }
public void IsFullReturnsTrueWithFullInventory() { Inventory inventory = new Inventory(); inventory.SetCapacity(1); Item item = new Item(); item.SetItemType(ItemType.BLUE_KEY); inventory.AddItem(item); bool isFull = inventory.IsFull(); Assert.IsTrue(isFull); }