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