示例#1
0
        public void AddFirst_WhenListPassed_ThenAddListInFirst(int[] actualArray, int[] arrayForList, int[] expectedArray)
        {
            MyArrayList actual            = new MyArrayList(actualArray);
            MyArrayList list              = new MyArrayList(arrayForList);
            MyArrayList expectedArrayList = new MyArrayList(expectedArray);

            actual.AddListToStart(list);

            Assert.AreEqual(expectedArrayList, actual);
        }