### Question:
ArrayGenerator { public static Integer[] ascIntArray(int lo, int hi) { int length = hi - lo + 1; Integer[] arr = new Integer[length]; for (int i = 0; i < length; i++) { arr[i] = i + lo; } return arr; } ArrayGenerator(); static double[] genRandomDoules(int N, double lower, double upper); static Integer[] duplicateKeysIntArray(int size, int keys); static Integer[] randomIntArray(int hi); static Integer[] randomIntArray(int lo, int hi); static Integer[] ascIntArray(int lo, int hi); static int[] ascInts(int hi); static int[] ascInts(int lo, int hi); static int[] ascInts(int lo, int hi, int num); static double[] randomDoubleArray(int hi, int size); static int[] randomIntsArray(int hi); static int[] randomIntsArray(int lo, int hi); static Integer[] ascIntArray(int hi); static Integer[] descIntArray(int lo, int hi); static Integer[] descIntArray(int hi); static Integer[] fixedValueIntArray(int val, int size); static Integer[] stringToIntArray(String str); static Integer[] Integers(int size, int lo, int hi); static int[] intsArray(int size, int lo, int hi); static Integer[] Integers(int size, int hi); static void show(Object[] a); static int[] allSameInts(int size, int key); static Integer[] intsToInteger(int[] arr); static int[] intsWithNkeys(int size, int... keys); static Random random; }### Answer:
@Test public void testAscIntArray(){ Integer[] arr = ascIntArray(15,45); show(arr); arr = ascIntArray(30); show(arr); arr = descIntArray(16, 30); show(arr); arr = descIntArray(30); show(arr); }