static int runTestCase(int casenum__) {
		switch (casenum__) {
		case 0: {
			int[] sequence = { 4, 7, 4 };
			int expected__ = 3;

			return verifyCase(casenum__, expected__, new TheSwapsDivTwo().find(sequence));
		}
		case 1: {
			int[] sequence = { 1, 47 };
			int expected__ = 1;

			return verifyCase(casenum__, expected__, new TheSwapsDivTwo().find(sequence));
		}
		case 2: {
			int[] sequence = { 9, 9, 9, 9 };
			int expected__ = 1;

			return verifyCase(casenum__, expected__, new TheSwapsDivTwo().find(sequence));
		}
		case 3: {
			int[] sequence = { 22, 16, 36, 35, 14, 9, 33, 6, 28, 12, 18, 14, 47, 46, 29, 22, 14, 17, 4, 15, 28, 6, 39,
					24, 47, 37 };
			int expected__ = 319;

			return verifyCase(casenum__, expected__, new TheSwapsDivTwo().find(sequence));
		}

		// custom cases


		 case 4: {
		 int[] sequence = {5,5,7,7,};
		  int expected__ = 5;

		  return verifyCase(casenum__, expected__, new
		  TheSwapsDivTwo().find(sequence));
		  }
		/*
		 * case 5: {
		 * int[] sequence = ;
		 * int expected__ = ;
		 *
		 * return verifyCase(casenum__, expected__, new
		 * TheSwapsDivTwo().find(sequence));
		 * }
		 */
		/*
		 * case 6: {
		 * int[] sequence = ;
		 * int expected__ = ;
		 *
		 * return verifyCase(casenum__, expected__, new
		 * TheSwapsDivTwo().find(sequence));
		 * }
		 */
		default:
			return -1;
		}
	}