public void PotionSatchelOnlyAllowPotion()
        {
            PotionSatchel ps  = new PotionSatchel();
            GreatAxes     axe = new GreatAxes();

            AddItemStatus result = ps.AddItem(axe);

            Assert.AreEqual(AddItemStatus.ItemNotRgihtType, result);

            HealthPotion potion = new HealthPotion();

            result = ps.AddItem(potion);
            Assert.AreEqual(AddItemStatus.Success, result);
        }
        public void CannotAddItemToFullBackpack()
        {
            Backpack  b   = new Backpack();
            GreatAxes axe = new GreatAxes();

            b.AddItem(axe);
            b.AddItem(axe);
            b.AddItem(axe);
            b.AddItem(axe);

            AddItemStatus actual = b.AddItem(axe);

            Assert.AreEqual(AddItemStatus.BagIsFull, actual);
        }
        public void WeightRestrictedBag()
        {
            WetPaperSack wps = new WetPaperSack();
            HealthPotion hp  = new HealthPotion();

            Assert.AreEqual(AddItemStatus.Success, wps.AddItem(hp));

            GreatAxes axe = new GreatAxes();

            Assert.AreEqual(AddItemStatus.ItemTooHeavy, wps.AddItem(axe));

            Item item = wps.RemoveItem();

            Assert.AreEqual(AddItemStatus.Success, wps.AddItem(axe));
        }