コード例 #1
0
        public void CanAddNodeToHead(int input)
        {
            //Arange
            LinkdList testList  = new LinkdList();
            Node      inputNode = new Node(input);

            //Act
            testList.AddHead(inputNode);

            //Assert
            Assert.Equal(input, testList.Head.Value);
        }