static int runTestCase(int casenum__) {
		switch (casenum__) {
		case 0: {
			String[] words = { "abc", "def", "ghi" };
			String[] expected__ = { "a", "d", "g" };

			return verifyCase(casenum__, expected__,
					new WordAbbreviation().getAbbreviations(words));
		}
		case 1: {
			String[] words = { "aaab", "aaac", "aaad" };
			String[] expected__ = { "aaab", "aaac", "aaad" };

			return verifyCase(casenum__, expected__,
					new WordAbbreviation().getAbbreviations(words));
		}
		case 2: {
			String[] words = { "top", "coder", "contest" };
			String[] expected__ = { "t", "cod", "con" };

			return verifyCase(casenum__, expected__,
					new WordAbbreviation().getAbbreviations(words));
		}
		case 3: {
			String[] words = { "bababaaaaa", "baaabaababa",
					"bbabaaabbaaabbabaabaabbbbbaabb",
					"aaababababbbbababbbaabaaaaaaaabbabbbaaab",
					"baaaaabaababbbaabbbabbababbbabbbbbbbbab" };
			String[] expected__ = { "bab", "baaab", "bb", "a", "baaaa" };

			return verifyCase(casenum__, expected__,
					new WordAbbreviation().getAbbreviations(words));
		}
		case 4: {
			String[] words = { "oneword" };
			String[] expected__ = { "o" };

			return verifyCase(casenum__, expected__,
					new WordAbbreviation().getAbbreviations(words));
		}

		// custom cases

		/*
		 * case 5: { String[] words = ; String[] expected__ = ;
		 * 
		 * return verifyCase(casenum__, expected__, new
		 * WordAbbreviation().getAbbreviations(words)); }
		 */
		/*
		 * case 6: { String[] words = ; String[] expected__ = ;
		 * 
		 * return verifyCase(casenum__, expected__, new
		 * WordAbbreviation().getAbbreviations(words)); }
		 */
		/*
		 * case 7: { String[] words = ; String[] expected__ = ;
		 * 
		 * return verifyCase(casenum__, expected__, new
		 * WordAbbreviation().getAbbreviations(words)); }
		 */
		default:
			return -1;
		}
	}