public void testRand() {
System.out.println("rand");
UniformRandomGenerator randomGenerator = new UniformRandomGenerator(0.11, 0.22, 0.15, 0.15, 0.27, 0.31);
// Test 1
double expectedResult = 0.21;
double result = randomGenerator.rand();
System.out.println(result);
assertEquals(expectedResult, result, 0.0001);
// Test 2
expectedResult = 0.31;
result = randomGenerator.rand();