static int runTestCase(int casenum__) {
		switch (casenum__) {
		case 0: {
			String sentence = "Dead Beef";
			int[] uppercase = { 6, 6, 6, 7, 7, 7, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 };
			int[] lowercase = { 5, 5, 5, 4, 4, 4, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 };
			int expected__ = 49;

			return verifyCase(casenum__, expected__, new FontSize().getPixelWidth(sentence, uppercase, lowercase));
		}
		case 1: {
			String sentence = "Hello World";
			int[] uppercase = { 7, 8, 8, 8, 7, 8, 8, 8, 7, 8, 8, 8, 8, 8, 7, 8, 8, 8, 8, 8, 7, 8, 8, 8, 8, 8 };
			int[] lowercase = { 5, 6, 6, 6, 5, 6, 6, 6, 5, 6, 6, 6, 6, 6, 5, 6, 6, 6, 6, 6, 5, 6, 6, 6, 6, 6 };
			int expected__ = 74;

			return verifyCase(casenum__, expected__, new FontSize().getPixelWidth(sentence, uppercase, lowercase));
		}
		case 2: {
			String sentence = "Hello World";
			int[] uppercase = { 7, 7, 7, 7, 7, 7, 7, 8, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 9, 7, 7, 7 };
			int[] lowercase = { 5, 5, 5, 6, 6, 5, 5, 5, 5, 5, 5, 1, 5, 5, 6, 5, 5, 6, 5, 5, 5, 5, 5, 5, 5, 5 };
			int expected__ = 63;

			return verifyCase(casenum__, expected__, new FontSize().getPixelWidth(sentence, uppercase, lowercase));
		}
		case 3: {
			String sentence = "ThE qUiCk BrOwN fOx JuMpEd OvEr ThE lAzY dOg";
			int[] uppercase = { 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15,
					14, 13, 12, 11 };
			int[] lowercase = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
					25, 26 };
			int expected__ = 778;

			return verifyCase(casenum__, expected__, new FontSize().getPixelWidth(sentence, uppercase, lowercase));
		}
		case 4: {
			String sentence = "two  spaces";
			int[] uppercase = { 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 };
			int[] lowercase = { 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 };
			int expected__ = 43;

			return verifyCase(casenum__, expected__, new FontSize().getPixelWidth(sentence, uppercase, lowercase));
		}

		// custom cases

		/*
		 * case 5: {
		 * String sentence = ;
		 * int[] uppercase = ;
		 * int[] lowercase = ;
		 * int expected__ = ;
		 *
		 * return verifyCase(casenum__, expected__, new
		 * FontSize().getPixelWidth(sentence, uppercase, lowercase));
		 * }
		 */
		/*
		 * case 6: {
		 * String sentence = ;
		 * int[] uppercase = ;
		 * int[] lowercase = ;
		 * int expected__ = ;
		 *
		 * return verifyCase(casenum__, expected__, new
		 * FontSize().getPixelWidth(sentence, uppercase, lowercase));
		 * }
		 */
		/*
		 * case 7: {
		 * String sentence = ;
		 * int[] uppercase = ;
		 * int[] lowercase = ;
		 * int expected__ = ;
		 *
		 * return verifyCase(casenum__, expected__, new
		 * FontSize().getPixelWidth(sentence, uppercase, lowercase));
		 * }
		 */
		default:
			return -1;
		}
	}