예제 #1
0
        public void Append_CountOfNumber_ShouldBeCountOfAppendNumbers(
            int expected,
            params string[] values)
        {
            var list = new SingleLinkedList <string>();

            foreach (var value in values)
            {
                list.Append(value);
            }

            Assert.Equal(expected, list.Count);
        }