public static int[] toInt(final double[] array) {
		final int[] result = new int[array.length];
		for (int i = 0; i < result.length; ++i) {
			result[i] = (int)array[i];
		}
		return result;
	}
Create a new {@code TestData} object from the given base resource name
and parameters.

@param resource the base resource name
@param parameters the test data parameters
@return a new test data object
jenetics/src/test/java/io/jenetics/util/TestData.java