@Test
public void putIntoForwardOrder_line() {

	for (int length = 1; length < 5; length++) {
		List<Node> ordered = createLineSequence(length);
		List<Node> shuffled = new ArrayList<>(ordered);
		Collections.shuffle(shuffled, rand);
		SequenceForwardOrder alg = new SequenceForwardOrder((List) shuffled);
		List<Node<?,?>> found = alg.putIntoForwardOrder();
		for (int i = 0; i < length; i++) {
			assertTrue(ordered.get(i)==found.get(i));
		}
	}
}