Пример #1
0
        /// <exception cref="System.Exception"></exception>
        protected override void AssertItemValue(object obj)
        {
            TAArrayItem item = (TAArrayItem)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
		/// <exception cref="System.Exception"></exception>
		protected override object CreateItem()
		{
			TAArrayItem item = new TAArrayItem();
			item.value = Ints1;
			item.obj = Ints2;
			item.lists = List1;
			item.listsObject = List2;
			return item;
		}
Пример #3
0
        /// <exception cref="System.Exception"></exception>
        protected override object CreateItem()
        {
            TAArrayItem item = new TAArrayItem();

            item.value       = Ints1;
            item.obj         = Ints2;
            item.lists       = List1;
            item.listsObject = List2;
            return(item);
        }