protected override void AssertItemValue(object obj)
 {
     ArrayItem item = (ArrayItem)obj;
     ArrayAssert.AreEqual(Ints1, item.Value());
     ArrayAssert.AreEqual(Ints2, (int[])item.Object());
     ArrayAssert.AreEqual(List1, item.Lists());
     ArrayAssert.AreEqual(List2, (LinkedList[])item.ListsObject());
 }
Пример #2
0
 protected override object CreateItem()
 {
     var item = new ArrayItem();
     item.value = Ints1;
     item.obj = Ints2;
     item.lists = List1;
     item.listsObject = List2;
     return item;
 }