예제 #1
0
        public void ClearTest2()
        {
            var bag = new SortedBag <int>();

            bag.Clear();

            Assert.Equal(0, bag.Count);
        }
예제 #2
0
        public void ClearTest1()
        {
            var bag = new SortedBag <int> {
                3, 5, 1, 4, 6, 2
            };

            bag.Clear();

            Assert.Equal(0, bag.Count);
        }