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

SortedMaxSizedContainerRemoveNonExistentItem() private method

private SortedMaxSizedContainerRemoveNonExistentItem ( ) : void
return void
        public void SortedMaxSizedContainerRemoveNonExistentItem()
        {
            SortedMaxSizedContainer<int> container = new SortedMaxSizedContainer<int>(5) { 7, 6, 5, 4, 3, 2, 1 };

            Assert.IsFalse(container.Remove(7));
        }