Esempio n. 1
0
        public void AddArrayToTheEnd(int[] array, int[] array2, int[] expArray)
        {
            DoubleLinkedList expected = new DoubleLinkedList(expArray);
            DoubleLinkedList actual   = new DoubleLinkedList(array);

            actual.AddArrayToTheEnd(array2);
            Assert.AreEqual(expected, actual);
        }
        public void AddArrayToTheEndTest(int[] array, int[] arrayAdd, int[] exArray)
        {
            DoubleLinkedList a        = new DoubleLinkedList(array);
            DoubleLinkedList expected = new DoubleLinkedList(exArray);

            a.AddArrayToTheEnd(arrayAdd);
            Assert.AreEqual(expected, a);
        }