示例#1
0
        public void Basics02()
        {
            LinkedListInteger list = new LinkedListInteger();

            list.Head = new Node <int>(9);
            Assert.Equal(9, list.ToInt());
        }
示例#2
0
        public void Basics01()
        {
            LinkedListInteger list = new LinkedListInteger();

            list.Head           = new Node <int>(1);
            list.Head.Next      = new Node <int>(2);
            list.Head.Next.Next = new Node <int>(3);
            Assert.Equal(123, list.ToInt());
        }