### Question:
StudentTDistribution implements ProbabilityDistribution<Double> { @Override public double getCDF(Double x) { ArgChecker.notNull(x, "x"); return _dist.cdf(x); } StudentTDistribution(double degFreedom);  StudentTDistribution(double degFreedom, RandomEngine engine); @Override double getCDF(Double x); @Override double getPDF(Double x); @Override double nextRandom(); @Override double getInverseCDF(Double p); double getDegreesOfFreedom(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void test() { ProbabilityDistribution<Double> dist = new StudentTDistribution(1, ENGINE); assertCDFWithNull(dist); assertPDFWithNull(dist); assertInverseCDF(X, dist); for (int i = 0; i < 10; i++) { dist = new StudentTDistribution(DOF[i], ENGINE); assertThat(P[i]).isCloseTo(dist.getCDF(X[i]), offset(EPS)); } }