@Test
	public void testRoomPreferenceTargetSelection() throws BadConfigFormatException {
		// first test preference for visiting rooms
		// A room is one step down from the cell at (5,18)
		board.calcTargets(5, 18, 1);
		Set<BoardCell> targets = board.getTargets();
		ComputerPlayer player = new ComputerPlayer("test","yellow",board.getCellAt(board.calcIndex(5, 18)));
		BoardCell target;
		// loop to ensure room is picked every time
		for (int i = 0; i < 10; ++i) {
			target = player.pickLocation(targets);
			assertEquals(board.getRoomCellAt(6, 18),target);
		}
	}