static int runTestCase(int casenum__) {
		switch (casenum__) {
		case 0: {
			int[] intensity = { 3, 4, 1, 1, 5, 6 };
			int L = 3;
			int[] leftEnd = { 3, 1, 0 };
			int[] expected__ = { 12, 5, 3 };

			return verifyCase(casenum__, expected__,
					new TheExperimentDiv2().determineHumidity(intensity, L,
							leftEnd));
		}
		case 1: {
			int[] intensity = { 5, 5 };
			int L = 2;
			int[] leftEnd = { 0, 0 };
			int[] expected__ = { 10, 0 };

			return verifyCase(casenum__, expected__,
					new TheExperimentDiv2().determineHumidity(intensity, L,
							leftEnd));
		}
		case 2: {
			int[] intensity = { 92, 11, 1000, 14, 3 };
			int L = 2;
			int[] leftEnd = { 0, 3 };
			int[] expected__ = { 103, 17 };

			return verifyCase(casenum__, expected__,
					new TheExperimentDiv2().determineHumidity(intensity, L,
							leftEnd));
		}
		case 3: {
			int[] intensity = { 2, 6, 15, 10, 8, 11, 99, 2, 4, 4, 4, 13 };
			int L = 4;
			int[] leftEnd = { 1, 7, 4, 5, 8, 0 };
			int[] expected__ = { 39, 14, 110, 0, 13, 2 };

			return verifyCase(casenum__, expected__,
					new TheExperimentDiv2().determineHumidity(intensity, L,
							leftEnd));
		}

		// custom cases

		/*
		 * case 4: { int[] intensity = ; int L = ; int[] leftEnd = ; int[]
		 * expected__ = ;
		 *
		 * return verifyCase(casenum__, expected__, new
		 * TheExperimentDiv2().determineHumidity(intensity, L, leftEnd)); }
		 */
		/*
		 * case 5: { int[] intensity = ; int L = ; int[] leftEnd = ; int[]
		 * expected__ = ;
		 *
		 * return verifyCase(casenum__, expected__, new
		 * TheExperimentDiv2().determineHumidity(intensity, L, leftEnd)); }
		 */
		/*
		 * case 6: { int[] intensity = ; int L = ; int[] leftEnd = ; int[]
		 * expected__ = ;
		 *
		 * return verifyCase(casenum__, expected__, new
		 * TheExperimentDiv2().determineHumidity(intensity, L, leftEnd)); }
		 */
		default:
			return -1;
		}
	}