public void testNeighbourshipSimple() {

		// the middle segment ("segmentB") has whether "segmentA" or "segmentC"
		// as its left or right neighbour (depending on orientation):
		assertTrue((segmentB.getNeighbour(0) == segmentA && segmentB
				.getNeighbour(1) == segmentC)
				|| (segmentB.getNeighbour(0) == segmentC && segmentB
						.getNeighbour(1) == segmentA));
		assertTrue((segmentA.getNeighbour(0) == segmentB && segmentA
				.getNeighbour(1) == null)
				|| (segmentA.getNeighbour(1) == segmentB && segmentA
						.getNeighbour(0) == null));
		assertTrue((segmentC.getNeighbour(0) == segmentB && segmentC
				.getNeighbour(1) == null)
				|| (segmentC.getNeighbour(1) == segmentB && segmentC
						.getNeighbour(0) == null));

	}