public void SortedMaxSizedContainerInverseComparer()
{
SortedMaxSizedContainer<int> container = new SortedMaxSizedContainer<int>(5, Comparer<int>.Create((a, b) => b.CompareTo(a))) { 7, 6, 5, 4, 3, 2, 1 };
int[] data = container.ToArray();
Assert.AreEqual(data, new[] { 7, 6, 5, 4, 3 });
}