public void IndexList_UnitTest_ContainsOperatesAsExpected() { HashSet<int> gaps = new HashSet<int> { 1, 5 }; IndexList il = new IndexList(gaps, 5); Assert.IsFalse(il.Contains(1)); Assert.IsTrue(il.Contains(4)); }