public void isFullTest3()
        {
            BoundedBag <string> b = new BoundedBag <string>("bag", 2);

            b.insert("one");
            Assert.IsFalse(b.isFull());
        }
        public void isFullTest2()
        {
            BoundedBag <string> b = new BoundedBag <string>("bag", 1);

            b.insert("one");
            Assert.IsTrue(b.isFull());
        }
        public void insertTest1()
        {
            BoundedBag <string> b = new BoundedBag <string>("bag", 3);

            b.insert("one");
            b.insert("two");
            b.insert("one");
            Assert.IsTrue(b.isFull());
        }
        public void loadsaveTest()
        {
            BoundedBag <string> b = new BoundedBag <string>("bag", 3);

            b.insert("one");
            b.insert("two");
            b.insert("three");
            b.saveBag("C:\\temp\\a1.txt");
            BoundedBag <string> newb = new BoundedBag <string>("new", 3);

            newb.loadBag("C:\\temp\\a1.txt");
            newb.remove();
            Assert.IsFalse(newb.isFull());
        }
        public void loadsaveTest()
        {
            BoundedBag <string> b = new BoundedBag <string>("bag", 3);

            b.insert("one");
            b.insert("two");
            b.insert("three");
            b.saveBag("C:/Users/Goragottsen/Desktop/gbc/COMP2129/assignment/A101095885/A101095885/mybag.txt");
            BoundedBag <string> newb = new BoundedBag <string>("new", 3);

            newb.loadBag("C:/Users/Goragottsen/Desktop/gbc/COMP2129/assignment/A101095885/A101095885/mybag.txt");
            newb.remove();
            Assert.IsFalse(newb.isFull());
        }
        public void removeTest3()
        {
            BoundedBag <string> b = new BoundedBag <string>("bag", 3);

            b.insert("one");
            b.insert("two");
            b.insert("two");
            try
            {
                b.remove();
                b.remove();
            }
            catch (BagEmptyException e) { }
            finally
            {
                Assert.IsFalse(b.isFull());
            }
        }
        public void isFullTest1()
        {
            BoundedBag <string> b = new BoundedBag <string>("bag", 0);

            Assert.IsTrue(b.isFull());
        }