@Test
	public void testDoorDirection() {
		int sumUp = 0;
		int sumDown = 0;
		int sumLeft = 0;
		int sumRight = 0;
		int sumNone = 0;
		
		for (BoardCell b : board.getCells()) {
			if (b.isRoom()){
				//b = new RoomCell(b);
				RoomCell.DoorDirection d = ((RoomCell) b).getDoorDirection();
				// System.out.println(d);
				if (d.equals(RoomCell.DoorDirection.UP))
					sumUp++;
				else if (d.equals(RoomCell.DoorDirection.DOWN))
					sumDown++;
				else if (d.equals(RoomCell.DoorDirection.LEFT))
					sumLeft++;
				else if (d.equals(RoomCell.DoorDirection.RIGHT))
					sumRight++;
				else
					sumNone++; // None includes both rooms and walkways
			}
			else if (b.isWalkway()){
				sumNone++; // None includes both rooms and walkways
			}
		}
		
		assertEquals(3,sumUp);
		assertEquals(2,sumDown);
		assertEquals(4,sumLeft);
		assertEquals(10,sumRight);
		assertEquals(487,sumNone);
	}