@Test
public void testIsConnectedTo() {

	assertFalse(this.testedSegment.isConnectedTo(this.testedSegment));
	assertFalse(this.testedSegment.isConnectedTo(this.loopSegment));
	assertTrue(this.testedSegment.isConnectedTo(this.firstNeighbour));
	assertTrue(this.testedSegment.isConnectedTo(this.secondNeighbour));
	assertFalse(this.testedSegment.isConnectedTo(this.thirdNeighbour));
	assertFalse(this.loopSegment.isConnectedTo(this.testedSegment));
	assertTrue(this.loopSegment.isConnectedTo(this.loopSegment));
	assertFalse(this.loopSegment.isConnectedTo(this.firstNeighbour));
	assertFalse(this.loopSegment.isConnectedTo(this.secondNeighbour));
	assertTrue(this.loopSegment.isConnectedTo(this.thirdNeighbour));
	assertTrue(this.firstNeighbour.isConnectedTo(this.testedSegment));
	assertFalse(this.firstNeighbour.isConnectedTo(this.loopSegment));
	assertFalse(this.firstNeighbour.isConnectedTo(this.firstNeighbour));
	assertFalse(this.firstNeighbour.isConnectedTo(this.secondNeighbour));
	assertFalse(this.firstNeighbour.isConnectedTo(this.thirdNeighbour));
	assertTrue(this.secondNeighbour.isConnectedTo(this.testedSegment));
	assertFalse(this.secondNeighbour.isConnectedTo(this.loopSegment));
	assertFalse(this.secondNeighbour.isConnectedTo(this.firstNeighbour));
	assertFalse(this.secondNeighbour.isConnectedTo(this.secondNeighbour));
	assertFalse(this.secondNeighbour.isConnectedTo(this.thirdNeighbour));
	assertFalse(this.thirdNeighbour.isConnectedTo(this.testedSegment));
	assertTrue(this.thirdNeighbour.isConnectedTo(this.loopSegment));
	assertFalse(this.thirdNeighbour.isConnectedTo(this.firstNeighbour));
	assertFalse(this.thirdNeighbour.isConnectedTo(this.secondNeighbour));
	assertFalse(this.thirdNeighbour.isConnectedTo(this.thirdNeighbour));
}