public void TestToList()
{
IntervalSet s = IntervalSet.Of(20, 25);
s.Add(50, 55);
s.Add(5, 5);
int[] expecting = { 5, 20, 21, 22, 23, 24, 25, 50, 51, 52, 53, 54, 55 };
IList<int> result = s.ToList();
CollectionAssert.AreEquivalent(expecting, result.ToArray());
}