static int runTestCase(int casenum) {
		switch (casenum) {
		case 0: {
			String[] kings = { "Louis IX", "Louis VIII" };
			String[] expected__ = { "Louis VIII", "Louis IX" };

			return verifyCase(casenum, expected__, new KingSort().getSortedList(kings));
		}
		case 1: {
			String[] kings = { "Louis IX", "Philippe II" };
			String[] expected__ = { "Louis IX", "Philippe II" };

			return verifyCase(casenum, expected__, new KingSort().getSortedList(kings));
		}
		case 2: {
			String[] kings = { "Richard III", "Richard I", "Richard II" };
			String[] expected__ = { "Richard I", "Richard II", "Richard III" };

			return verifyCase(casenum, expected__, new KingSort().getSortedList(kings));
		}
		case 3: {
			String[] kings = { "John X", "John I", "John L", "John V" };
			String[] expected__ = { "John I", "John V", "John X", "John L" };

			return verifyCase(casenum, expected__, new KingSort().getSortedList(kings));
		}
		case 4: {
			String[] kings = { "Philippe VI", "Jean II", "Charles V", "Charles VI", "Charles VII", "Louis XI" };
			String[] expected__ = { "Charles V", "Charles VI", "Charles VII", "Jean II", "Louis XI", "Philippe VI" };

			return verifyCase(casenum, expected__, new KingSort().getSortedList(kings));
		}
		case 5: {
			String[] kings = { "Philippe II", "Philip II" };
			String[] expected__ = { "Philip II", "Philippe II" };

			return verifyCase(casenum, expected__, new KingSort().getSortedList(kings));
		}

		// custom cases

		case 6: {
			String[] kings = { "Richard III", "Richard I", "Richard II" };
			String[] expected__ = { "Richard I", "Richard II", "Richard III" };

			return verifyCase(casenum, expected__, new
					KingSort().getSortedList(kings));
		}
		case 7: {
			String[] kings = { "Carlos XIV", "Carlos XV" };
			String[] expected__ = { "Carlos XIV", "Carlos XV" };;

			return verifyCase(casenum, expected__, new
					KingSort().getSortedList(kings));	
		}
		case 10: {
			String[] kings = { "Carlos XXI", "Carlos IX", "Carlos XLIX", "Carlos XLIV", "Carlos XXXV", "Carlos XXIX",
					"Carlos XXXIII", "Carlos XXVI", "Carlos XIII", "Carlos XLVIII", "Carlos XL", "Carlos XXXVIII",
					"Carlos XI", "Carlos XXIII", "Carlos XXXVII", "Carlos XXVIII", "Carlos XXV", "Carlos XXX",
					"Carlos XLII", "Carlos XVIII", "Carlos III", "Carlos XV", "Carlos VIII", "Carlos XXIV",
					"Carlos XLVI", "Carlos II", "Carlos XIV", "Carlos VI", "Carlos L", "Carlos I", "Carlos XXXIX",
					"Carlos XLVII", "Carlos XXXVI", "Carlos XXVII", "Carlos XX", "Carlos XXII", "Carlos XIX",
					"Carlos XII", "Carlos XXXIV", "Carlos XVII", "Carlos XVI", "Carlos XXXII", "Carlos X", "Carlos V",
					"Carlos XXXI", "Carlos IV", "Carlos XLIII", "Carlos XLI", "Carlos XLV", "Carlos VII" };
			String[] expected__ = { "Carlos I", "Carlos II", "Carlos III", "Carlos IV", "Carlos V", "Carlos VI",
					"Carlos VII", "Carlos VIII", "Carlos IX", "Carlos X", "Carlos XI", "Carlos XII", "Carlos XIII",
					"Carlos XIV", "Carlos XV", "Carlos XVI", "Carlos XVII", "Carlos XVIII", "Carlos XIX", "Carlos XX",
					"Carlos XXI", "Carlos XXII", "Carlos XXIII", "Carlos XXIV", "Carlos XXV", "Carlos XXVI",
					"Carlos XXVII", "Carlos XXVIII", "Carlos XXIX", "Carlos XXX", "Carlos XXXI", "Carlos XXXII",
					"Carlos XXXIII", "Carlos XXXIV", "Carlos XXXV", "Carlos XXXVI", "Carlos XXXVII", "Carlos XXXVIII",
					"Carlos XXXIX", "Carlos XL", "Carlos XLI", "Carlos XLII", "Carlos XLIII", "Carlos XLIV",
					"Carlos XLV", "Carlos XLVI", "Carlos XLVII", "Carlos XLVIII", "Carlos XLIX", "Carlos L" };

			return verifyCase(casenum, expected__, new
					KingSort().getSortedList(kings));
		}

		/*
		 * case 8: {
		 * String[] kings = ;
		 * String[] expected__ = ;
		 *
		 * return verifyCase(casenum, expected__, new
		 * KingSort().getSortedList(kings));
		 * }
		 */
		default:
			return -1;
		}
	}