@Test
	public void testCarbohydratePercentage() {
		MealRepartition mr = new MealRepartition();
		try {
			mr.setCarbohydratePercentage(0.49);
			fail("A BadCarbohydratePercentageException should have been thrown.");
		} catch (BadCarbohydratePercentageException e) {}
		try {
			mr.setCarbohydratePercentage(0.56);
			fail("A BadCarbohydratePercentageException should have been thrown.");
		} catch(BadCarbohydratePercentageException e) {};
		try {
			mr.setCarbohydratePercentage(0.53);
		} catch(BadCarbohydratePercentageException e) {
			fail("A BadCarbohydratePercentageException has been thrown.");
		}
	}