public void ReverseNodesTest()
        {
            var linkedListNodeManager = new LinkedListManager <int>();

            linkedListNodeManager.AddNodeToTheBegining(new LinkedListNode <int>()
            {
                Data = 1, Next = null
            });
            linkedListNodeManager.AddNodeToTheBegining(new LinkedListNode <int>()
            {
                Data = 2, Next = null
            });
            linkedListNodeManager.AddNodeToTheBegining(new LinkedListNode <int>()
            {
                Data = 3, Next = null
            });
            linkedListNodeManager.AddNodeToTheBegining(new LinkedListNode <int>()
            {
                Data = 4, Next = null
            });
            linkedListNodeManager.AddNodeToTheBegining(new LinkedListNode <int>()
            {
                Data = 5, Next = null
            });
            linkedListNodeManager.AddNodeToTheBegining(new LinkedListNode <int>()
            {
                Data = 6, Next = null
            });
            linkedListNodeManager.AddNodeToTheBegining(new LinkedListNode <int>()
            {
                Data = 7, Next = null
            });
            linkedListNodeManager.AddNodeToTheBegining(new LinkedListNode <int>()
            {
                Data = 8, Next = null
            });
            linkedListNodeManager.PrintNodes();
            linkedListNodeManager.ReverseNode();
            linkedListNodeManager.PrintNodes();
        }
        public void AddNodeToTheBeginingTest()
        {
            var linkedListNodeManager = new LinkedListManager <int>();

            linkedListNodeManager.AddNodeToTheBegining(new LinkedListNode <int>()
            {
                Data = 1, Next = null
            });
            linkedListNodeManager.AddNodeToTheBegining(new LinkedListNode <int>()
            {
                Data = 2, Next = null
            });
            linkedListNodeManager.PrintNodes();
        }