assertTrue("Generated at least one equal to end", values.contains(end));
}
public void randomDoubleRangeTest() {
Double start = 85.1, end = 85.2;
RandomFunction randomFunction = new RandomFunction(Double.class, new Range(start, end));
for (int i=0; i<10; i++) {
Object value = randomFunction.generateValue();
assertNotNull("Generated double can not be null", value);
assertTrue("Generated double does not exist in the range", (start <= (Double) value && (Double) value <= end));
}