@Test
	public void corridorConnectionTests(){
		getNewBoard();
		
		for (int row = 0; row < 29; row++  ){
			for (int col = 0; col < 25; col++){
				Square s = board.getSquare(new Point(col, row));
				
				if (s instanceof CorridorCell){
					CorridorCell corCell = (CorridorCell) s;
					Set<Cell> neighs = corCell.getNeighbours();
					
					// has between 1 and 4 neighbours
					assertTrue(neighs.size() > 0 && neighs.size() < 5);
					
					// 	// if neighbour is CorridorCell, position differs by x or y, and only by 1
					int x = s.getPosition().x;
					int y = s.getPosition().y;
					
					for (Cell neigh: neighs){
						
						if (neigh instanceof CorridorCell){
							
							int nX = neigh.getPosition().x;
							int nY = neigh.getPosition().y;
							
							if (x == nX ){
								assertTrue(Math.abs(y-nY) == 1);		
							}
							else if (y == nY ){
								assertTrue(Math.abs(x-nX) == 1);
							}
							else {
								fail("either x or Y positions must be the same: " + s.getPosition() + " " + neigh.getPosition());
							}
						}
					}
				}
				
			}
		}
			
	}