### Question:
TriangularDistribution extends AbstractContinuousDistribution { @Override public double getSupportUpperBound() { return b; } TriangularDistribution(double a,
                                  double c,
                                  double b); double getMode(); @Override double density(double x); @Override double cumulativeProbability(double x); @Override double getMean(); @Override double getVariance(); @Override double getSupportLowerBound(); @Override double getSupportUpperBound(); @Override boolean isSupportConnected(); @Override double inverseCumulativeProbability(double p);  }### Answer:
@Test void testGetUpperBound() { final TriangularDistribution distribution = makeDistribution(); Assertions.assertEquals(12.0, distribution.getSupportUpperBound()); }