public void testCDFSanity() {
ProbabilityDistribution dist = getDist();
long min = 453, max = 26546454;
dist.init(min, max, getDistParams(), "");
assertEquals(dist.cdf(min-1), 0.0);
assertEquals(dist.cdf(min-234321), 0.0);
assertEquals(dist.cdf(max), 1.0);
assertEquals(dist.cdf(max+2343242224234L), 1.0);
// Check cdf is monotonically increasing