public void GiveRange_PrependToFrontTest() { IUniqueIdentificationSet uidSet = new UniqueIdentificationSet(false); uidSet.Clear(); uidSet.GiveRange(18, 20); uidSet.GiveRange(12, 15); uidSet.GiveRange(7, 10); uidSet.GiveRange(1, 5); AssertEquals("[1, 5][7, 10][12, 15][18, 20]", uidSet.ToString()); }
public void GiveRange_PrependToFrontTest() { IUniqueIdentificationSet uidSet = new UniqueIdentificationSet(false); uidSet.Clear(); uidSet.GiveRange(18, 20); uidSet.GiveRange(12, 15); uidSet.GiveRange(7, 10); uidSet.GiveRange(1, 5); AssertEquals("[1, 5][7, 10][12, 15][18, 20]", uidSet.ToString()); }