static int runTestCase(int casenum__) {
		switch (casenum__) {
		case 0: {
			String[] ingredients = { "200 ml of oil, weighing 180 g" };
			double expected__ = 0.9;

			return verifyCase(casenum__, expected__, new MixtureDensity().getDensity(ingredients));
		}
		case 1: {
			String[] ingredients = { "100 ml of dichloromethane, weighing 130 g", "100 ml of sea water, weighing 103 g" };
			double expected__ = 1.165;

			return verifyCase(casenum__, expected__, new MixtureDensity().getDensity(ingredients));
		}
		case 2: {
			String[] ingredients = { "1000 ml of water, weighing 1000 g",
					"500 ml of orange juice concentrate, weighing 566 g" };
			double expected__ = 1.044;

			return verifyCase(casenum__, expected__, new MixtureDensity().getDensity(ingredients));
		}
		case 3: {
			String[] ingredients = { "1000 ml of something   l i g h t, weighing 1 g" };
			double expected__ = 0.0010;

			return verifyCase(casenum__, expected__, new MixtureDensity().getDensity(ingredients));
		}

		// custom cases

		/*
		 * case 4: {
		 * String[] ingredients = ;
		 * double expected__ = ;
		 * 
		 * return verifyCase(casenum__, expected__, new
		 * MixtureDensity().getDensity(ingredients));
		 * }
		 */
		/*
		 * case 5: {
		 * String[] ingredients = ;
		 * double expected__ = ;
		 * 
		 * return verifyCase(casenum__, expected__, new
		 * MixtureDensity().getDensity(ingredients));
		 * }
		 */
		/*
		 * case 6: {
		 * String[] ingredients = ;
		 * double expected__ = ;
		 * 
		 * return verifyCase(casenum__, expected__, new
		 * MixtureDensity().getDensity(ingredients));
		 * }
		 */
		default:
			return -1;
		}
	}