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

SortedMaxSizedContainerOnlySmallestItemsRemain() private method

private SortedMaxSizedContainerOnlySmallestItemsRemain ( ) : void
return void
        public void SortedMaxSizedContainerOnlySmallestItemsRemain()
        {
            SortedMaxSizedContainer<int> container = new SortedMaxSizedContainer<int>(5) { 7, 6, 5, 4, 3, 2, 1 };
            int[] data = container.ToArray();
            Assert.AreEqual(data, new[] { 1, 2, 3, 4, 5 });
        }