static int runTestCase(int casenum__) {
		switch (casenum__) {
		case 0: {
			int[] A = { 364, 843, 1322, 1801 };
			int expected__ = 2280;

			return verifyCase(casenum__, expected__, new GuessingNextElement().guess(A));
		}
		case 1: {
			int[] A = { 394, 1172, 1950, 2728, 3506, 4284, 5062, 5840 };
			int expected__ = 6618;

			return verifyCase(casenum__, expected__, new GuessingNextElement().guess(A));
		}
		case 2: {
			int[] A = { 13, 117, 1053, 9477, 85293 };
			int expected__ = 767637;

			return verifyCase(casenum__, expected__, new GuessingNextElement().guess(A));
		}
		case 3: {
			int[] A = { 22, 220, 2200, 22000 };
			int expected__ = 220000;

			return verifyCase(casenum__, expected__, new GuessingNextElement().guess(A));
		}
		case 4: {
			int[] A = { 250000, 500000, 1000000 };
			int expected__ = 2000000;

			return verifyCase(casenum__, expected__, new GuessingNextElement().guess(A));
		}

		// custom cases

		/*
		 * case 5: {
		 * int[] A = ;
		 * int expected__ = ;
		 *
		 * return verifyCase(casenum__, expected__, new
		 * GuessingNextElement().guess(A));
		 * }
		 */
		/*
		 * case 6: {
		 * int[] A = ;
		 * int expected__ = ;
		 *
		 * return verifyCase(casenum__, expected__, new
		 * GuessingNextElement().guess(A));
		 * }
		 */
		/*
		 * case 7: {
		 * int[] A = ;
		 * int expected__ = ;
		 *
		 * return verifyCase(casenum__, expected__, new
		 * GuessingNextElement().guess(A));
		 * }
		 */
		default:
			return -1;
		}
	}