示例#1
0
        public void AddValue_WhenValuePassed_AddValueToLast(int value, int[] actualArray, int[] expectedArray)
        {
            MyArrayList actual   = new MyArrayList(actualArray);
            MyArrayList expected = new MyArrayList(expectedArray);

            actual.AddValueToLast(value);

            Assert.AreEqual(expected, actual);
        }