public void AddByIndexTests(int[] array, int value, int index, int[] expArray) { ListArray expected = new ListArray(expArray); ListArray actual = new ListArray(array); actual.AddByIndex(index, value); Assert.AreEqual(expected, actual); }
public void AddByIndexTests(int[] array, int value, int index, int[] expArray) { ListArray expected = new ListArray(expArray); ListArray actual = new ListArray(array); actual.AddByIndex(index, value); Assert.AreEqual(expected, actual); }