### Question:
PPSort { public static int getMaxId(int[] array) { int max = 0, index = 0; for (int i = 0; i < array.length; i++) { if (array[i] > max) { max = array[i]; index = i; } } return index; }  static String[] sortedToStrings(HashMap<String, Integer> temp); static HashMap<String, Float> sortedToHashMap(HashMap<String, Float> temp, int N); static HashMap<String, Integer> sortedToHashMapInteger(HashMap<String, Integer> temp, int N); static int getMaxId(int[] array); static List<HashMap<String, String>> sortedToDoubleMap(HashMap<String, Long> temp,
			String keyname1, String keyname2, int num);  }### Answer:
@Test public void testGetMaxId_找出一个数组中的最大值对应的下标() { assertEquals(OUT_MAX_INDEX, PPSort.getMaxId(IN_INT_ARR)); }