### Question:
ConstantContinuousDistribution extends AbstractContinuousDistribution { @Override public double inverseCumulativeProbability(final double p) { if (p < 0 || p > 1) { throw new DistributionException(DistributionException.INVALID_PROBABILITY, p); } return value; } ConstantContinuousDistribution(double value); @Override double density(double x); @Override double cumulativeProbability(double x); @Override double inverseCumulativeProbability(final double p); @Override double getMean(); @Override double getVariance(); @Override double getSupportLowerBound(); @Override double getSupportUpperBound(); @Override boolean isSupportConnected(); @Override ContinuousDistribution.Sampler createSampler(final UniformRandomProvider rng);  }### Answer:
@Override @Test void testInverseCumulativeProbabilities() { final ContinuousDistribution dist = getDistribution(); for (final double x : getCumulativeTestValues()) { Assertions.assertEquals(1, dist.inverseCumulativeProbability(x)); } }