public int[] AddToEndTest(int[] array, int[] a)//тест доб в конец массива +
        {
            ArrayList actual = new ArrayList(array);

            actual.AddToEnd(a);
            return(actual.ReturnArray());
        }
Example #2
0
        public void AddToEndTest(int value, int[] array, int[] expArr)
        {
            ArrayList expected = new ArrayList(expArr);
            ArrayList actual   = new ArrayList(array);

            actual.AddToEnd(value);
            Assert.AreEqual(expected, actual);
        }