コード例 #1
0
        public void TestAddLast()
        {
            var expected = "hoge";
            var input    = "hoge";
            var items    = new MyArrayList <string>(new string[] { "a", "b", "c" });

            items.AddLast(input);
            var actual = items.Last;

            Assert.AreEqual(expected, actual);
        }