### Question:
Gaussian extends GaussianBase { public double getQuantile(double p) { return calculateQuantile(p); } Gaussian(double mu, double sigma); AxisType getAxisType(); double getQuantile(double p); @Override double getCumulativeProbability(double x);  }### Answer:
@Test public void testGetQuantile() { double z90 = 1.644853626951; double z95 = 1.959963984540; assertEquals(z95 * 1.0 + 0.0, d_gauss1.getQuantile(0.975), EPSILON); assertEquals(z95 * 2.0 + -5.0, d_gauss2.getQuantile(0.975), EPSILON); assertEquals(-z95 * 1.0 + 0.0, d_gauss1.getQuantile(0.025), EPSILON); assertEquals(-z95 * 2.0 + -5.0, d_gauss2.getQuantile(0.025), EPSILON); assertEquals(z90 * 1.0 + 0.0, d_gauss1.getQuantile(0.95), EPSILON); assertEquals(z90 * 2.0 + -5.0, d_gauss2.getQuantile(0.95), EPSILON); assertEquals(0.0, d_gauss1.getQuantile(0.5), EPSILON); assertEquals(-5.0, d_gauss2.getQuantile(0.5), EPSILON); }