public static int getRandomInt(int min, int max) {
		int distributionLength = (max - min) + 1;// make inclusive
		double randomValueInRange = Math.random() * distributionLength;
		int randomInt = (int) randomValueInRange;
		int valueInRangeWithOffset = min + randomInt;

		// don't go beyond the max in the case where we hit the boundary above (with the +1)
		return Math.min(valueInRangeWithOffset, max);
	}
Get the directory path within which all temporary test data files should be created.  This
method will only initialize the test directory path one time.
Ghidra/Framework/Generic/src/main/java/generic/test/AbstractGTest.java