public void RemoveByIndexTest(int[] array, int index, int[] expArray) { DLinkedList expected = new DLinkedList(expArray); DLinkedList actual = new DLinkedList(array); actual.RemoveByIndex(index); Assert.AreEqual(expected, actual); }