public void WeightRestrictedBagRestrictsWeight()
        {
            WetPaperSack wps    = new WetPaperSack();
            HealthPotion potion = new HealthPotion();
            Sword        sword  = new Sword();

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

            Assert.AreEqual(AddItemStatus.ItemToHeavy, wps.AddItem(sword));

            Item item = wps.RemoveItem();

            Assert.AreEqual(AddItemStatus.Success, wps.AddItem(sword));
        }
        public void WeightRestrictedBagRestrictsWeight()
        {
            WetPaperSack sack   = new WetPaperSack();
            HealthPotion potion = new HealthPotion();

            Assert.AreEqual(true, sack.AddItem(potion));

            Sword sword = new Sword();

            Assert.AreEqual(false, sack.AddItem(sword));

            Item item = sack.RemoveItem();

            Assert.AreEqual(true, sack.AddItem(sword));
        }
        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));
        }