static ISeq<IntegerGene> seq(
		final int min,
		final int max,
		final IntRange lengthRange
	) {
		final var random = random();
		final var length = random.nextInt(lengthRange.min(), lengthRange.max());

		return MSeq.<IntegerGene>ofLength(length)
			.fill(() -> new IntegerGene(random.nextInt(min, max), min, max))
			.toISeq();
	}
Create a new random {@code IntegerGene}. It is guaranteed that the value of
the {@code IntegerGene} lies in the interval {@code [min, max)}.

@since 3.2

@param range the integer range to use
@return a new random {@code IntegerGene}
@throws NullPointerException if the given {@code range} is {@code null}.
@throws IllegalArgumentException if {@code max} is greater than
        or equal to {@code min}
jenetics/src/main/java/io/jenetics/IntegerGene.java