static int runTestCase(int casenum__) {
		switch (casenum__) {
		case 0: {
			int[] data = { 10, 20, 30, 40, 50, 60, 70 };
			int nSwaps = 1;
			int[] expected__ = { 20, 10, 30, 40, 50, 60, 70 };

			return verifyCase(casenum__, expected__, new PartSorting().process(data, nSwaps));
		}
		case 1: {
			int[] data = { 3, 5, 1, 2, 4 };
			int nSwaps = 2;
			int[] expected__ = { 5, 3, 2, 1, 4 };

			return verifyCase(casenum__, expected__, new PartSorting().process(data, nSwaps));
		}
		case 2: {
			int[] data = { 19, 20, 17, 18, 15, 16, 13, 14, 11, 12 };
			int nSwaps = 5;
			int[] expected__ = { 20, 19, 18, 17, 16, 15, 14, 13, 12, 11 };

			return verifyCase(casenum__, expected__, new PartSorting().process(data, nSwaps));
		}

		// custom cases
		
		  case 3: {
		  int[] data ={89, 103, 107, 90, 97, 85, 12, 29, 71, 10, 94, 18, 15, 36, 55, 13, 77, 86, 5, 4, 48, 47, 3, 43, 25, 41, 74, 119, 8, 113, 42, 98, 14, 80, 37, 110, 11, 115, 87, 21, 127, 28, 124, 61, 102, 39, 70, 38, 81, 73} ;
		  int nSwaps = 10;
		  int[] expected__ ={107, 103, 97, 90, 89, 85, 94, 12, 29, 71, 10, 18, 15, 36, 55, 13, 77, 86, 5, 4, 48, 47, 3, 43, 25, 41, 74, 119, 8, 113, 42, 98, 14, 80, 37, 110, 11, 115, 87, 21, 127, 28, 124, 61, 102, 39, 70, 38, 81, 73} ;
		 
		  return verifyCase(casenum__, expected__, new
		  PartSorting().process(data, nSwaps));
		  }
		 
		/*
		 * case 4: {
		 * int[] data = ;
		 * int nSwaps = ;
		 * int[] expected__ = ;
		 *
		 * return verifyCase(casenum__, expected__, new
		 * PartSorting().process(data, nSwaps));
		 * }
		 */
		/*
		 * case 5: {
		 * int[] data = ;
		 * int nSwaps = ;
		 * int[] expected__ = ;
		 *
		 * return verifyCase(casenum__, expected__, new
		 * PartSorting().process(data, nSwaps));
		 * }
		 */
		default:
			return -1;
		}
	}