public void IndexList_UnitTest_CanSetMaxValueWhenInGaps()
{
HashSet<int> gaps = new HashSet<int> { 1, 5 };
IndexList il = new IndexList(gaps, 5);
il.SetMaxValue(5, false);
Assert.AreEqual(1, il.MinValue);
Assert.AreEqual(5, il.MaxValue);
Assert.AreEqual(3, il.Count());
}