Esempio n. 1
0
        public void DeleteNode()
        {
            var head = Node.CreateFromArray(new int[] { 1, 2, 3, 4 });
            var node = head.Next.Next;

            Exercises.DeleteNode(node);
            Assert.Equal(new int[] { 1, 2, 4 }, Node.GetContent(head));
        }