public void CountFromIntegerBagTest()
        {
            SortedIntegerBag bag = new SortedIntegerBag();

            bag.AddIntToBag(1);
            bag.AddIntToBag(2);
            bag.AddIntToBag(3);

            var x = bag.CountIntInBag();

            Assert.AreEqual(3, x);
        }
        public void RemoveFromIntegerBagTest()
        {
            SortedIntegerBag bag = new SortedIntegerBag();

            bag.AddIntToBag(1);
            bag.AddIntToBag(2);
            bag.AddIntToBag(3);

            bag.RemoveIntFromBag();

            Assert.AreEqual(2, bag.GetIntFromBag());
        }
        public void AddAndGetToIntegerBagTest()
        {
            //Arrange
            int x = 5;
            SortedIntegerBag bag = new SortedIntegerBag();

            //Act
            bag.AddIntToBag(x);
            var y = bag.GetIntFromBag();

            //Assert
            Assert.AreEqual(5, y);
        }