예제 #1
0
        public void AddLast_WhenListPassed_ThenAddListInLast(int[] actualArray, int[] arrayForList, int[] expectedArray)
        {
            MyArrayList actual            = new MyArrayList(actualArray);
            MyArrayList list              = new MyArrayList(arrayForList);
            MyArrayList expectedArrayList = new MyArrayList(expectedArray);

            actual.AddListToTheEnd(list);

            Assert.AreEqual(expectedArrayList, actual);
        }