public void AddArrayTest(int[] array, int[] expArray, int [] adArray) { ArrayList expected = new ArrayList(expArray); ArrayList actual = new ArrayList(array); actual.AddArray(adArray); Assert.AreEqual(expected, actual); }
public void AddArray_IndexExistsInTheList_ShouldAddListFromEnd(int[] arrayList, int[] actualArray, int[] expectedArray) { ArrayList expected = new ArrayList(expectedArray); ArrayList actual = new ArrayList(actualArray); ArrayList list = new ArrayList(arrayList); actual.AddArray(list); Assert.AreEqual(expected, actual); }