}
/** Applies test to normally distributed and binomially distributed samples. */
public void testRandomSamplesFromSameDistribution() {
List<Double> normalDistSample1 =
getRandomSample(new NormalDistribution(random, 5.0, 2.0));
List<Double> normalDistSample2 =
getRandomSample(new NormalDistribution(random, 5.0, 2.0));
assertFalse(
"This null hypothesis should not be easy to reject, as both samples are indeed generated by the same distribution.",
test.executeTest(normalDistSample1, normalDistSample2) < MAXIMAL_P_VALUE);
}