Example #1
0
        public void AddByIndexTest(int val, int idx, int[] arr, int[] expected)
        {
            MyArrayList myAL = new MyArrayList(arr);

            myAL.AddByIndex(val, idx);

            Assert.AreEqual(expected, myAL.GetValues());
        }