private static void estEntourerDeMurs(Labyrinthe l)
			throws LabyMalEntoureException {
		for (int i = 0; i < l.Xsize(); i++) {
			if (l.getContenuCase(i, 0) != ContenuCase.MUR)
				throw new LabyMalEntoureException(new Point(i, 0));
			if (l.getContenuCase(i, l.Ysize() - 1) != ContenuCase.MUR)
				throw new LabyMalEntoureException(new Point(i, l.Ysize() - 1));
		}

		for (int j = 0; j < l.Ysize(); j++) {
			if (l.getContenuCase(0, j) != ContenuCase.MUR)
				throw new LabyMalEntoureException(new Point(0, j));
			if (l.getContenuCase(l.Xsize() - 1, j) != ContenuCase.MUR)
				throw new LabyMalEntoureException(new Point(l.Xsize() - 1, j));
		}

	}