@Test
public void findInput() {

	for (int i = 1; i < 4; i++) {
		List<Node> list = createLineSequence(i);
		Node first = list.get(0);
		Collections.shuffle(list,rand);
		SequenceForwardOrder alg = new SequenceForwardOrder((List)list);
		assertTrue(first == alg.findInput().node);
	}
}