### Question:
TDistribution extends AbstractContinuousDistribution { public double getDegreesOfFreedom() { return degreesOfFreedom; } TDistribution(double degreesOfFreedom); double getDegreesOfFreedom(); @Override double density(double x); @Override double logDensity(double x); @Override double cumulativeProbability(double x); @Override double getMean(); @Override double getVariance(); @Override double getSupportLowerBound(); @Override double getSupportUpperBound(); @Override boolean isSupportConnected();  }### Answer:
@Test void testParameterAccessors() { final TDistribution dist = makeDistribution(); Assertions.assertEquals(5d, dist.getDegreesOfFreedom()); }