static int runTestCase(int casenum__) {
		switch (casenum__) {
		case 0: {
			String[] tasks = { "3 57", "2 22" };
			double expected__ = 43.0;

			return verifyCase(casenum__, expected__, new DownloadingFiles().actualTime(tasks));
		}
		case 1: {
			String[] tasks = { "3 1057", "2 1022" };
			double expected__ = 1043.0;

			return verifyCase(casenum__, expected__, new DownloadingFiles().actualTime(tasks));
		}
		case 2: {
			String[] tasks = { "25 1000", "5 5000", "10 5000" };
			double expected__ = 2500.0;

			return verifyCase(casenum__, expected__, new DownloadingFiles().actualTime(tasks));
		}
		case 3: {
			String[] tasks = { "1 10", "1 20", "2 40" };
			double expected__ = 27.5;

			return verifyCase(casenum__, expected__, new DownloadingFiles().actualTime(tasks));
		}
		case 4: {
			String[] tasks = { "6 88", "39 7057", "63 2502", "45 2285", "28 8749", "62 3636", "1 5546", "49 5741" };
			double expected__ = 4414.542662116041;

			return verifyCase(casenum__, expected__, new DownloadingFiles().actualTime(tasks));
		}

		// custom cases

		/*
		 * case 5: {
		 * String[] tasks = ;
		 * double expected__ = ;
		 *
		 * return verifyCase(casenum__, expected__, new
		 * DownloadingFiles().actualTime(tasks));
		 * }
		 */
		/*
		 * case 6: {
		 * String[] tasks = ;
		 * double expected__ = ;
		 *
		 * return verifyCase(casenum__, expected__, new
		 * DownloadingFiles().actualTime(tasks));
		 * }
		 */
		/*
		 * case 7: {
		 * String[] tasks = ;
		 * double expected__ = ;
		 *
		 * return verifyCase(casenum__, expected__, new
		 * DownloadingFiles().actualTime(tasks));
		 * }
		 */
		default:
			return -1;
		}
	}