Пример #1
0
 public void DataFromPosTest()
 {
     UniqueList list = new UniqueList();
     list.AddToList(1);
     list.AddToList(2);
     list.AddToList(3);
     list.AddToList(5);
     list.AddToList(4);
     Assert.AreEqual(3, list.DataFromPos(3));
     Assert.AreEqual(4, list.DataFromPos(5));
 }