public void DetectCycle_False() { var head = new ListNode(3); var node2 = new ListNode(2); var node0 = new ListNode(0); var nodeN4 = new ListNode(-4); head.next = node2; node2.next = node0; node0.next = nodeN4; nodeN4.next = node2; var output = _linkedListService.GetIntersect(head); Assert.Equal(output.val, node2.val); }