public void TestTrimExcess() { PopulateTestQueue(); Assert.Equal(32, TestQueue.Capacity); Assert.Equal(SampleSize, TestQueue.Count); TestQueue.TrimExcess(); Assert.Equal(SampleSize, TestQueue.Capacity); }