CSMSL.Tests.Util.Collections.SortedMaxSizedContainerTestFixture.SortedMaxSizedContainerRemoveExistentItemProperCount C# (CSharp) Method

SortedMaxSizedContainerRemoveExistentItemProperCount() private method

        public void SortedMaxSizedContainerRemoveExistentItemProperCount()
        {
            SortedMaxSizedContainer<int> container = new SortedMaxSizedContainer<int>(5) { 7, 6, 5, 4, 3, 2, 1 };
            container.Remove(3);
            Assert.AreEqual(container.Count, 4);
        }