### Question:
Baseline { public double getHamb(final double line, final double pixel, final double height) throws Exception { final double theta_inc = getThetaInc(line, pixel, height); final double Bperp = getBperp(line, pixel, height); final double range_MP = getRange(pixel); final double h_amb = (Bperp == 0) ? Double.POSITIVE_INFINITY : -masterWavelength * range_MP * Math.sin(theta_inc) / (2.0 * Bperp); return h_amb; } Baseline(); void model(final SLCImage master, final SLCImage slave, Orbit masterOrbit, Orbit slaveOrbit); double getRange(final double pixel); double getBperp(final double line, final double pixel, final double height); double getBperp(final double line, final double pixel); double getBperp(final Point p); double getBpar(final double line, final double pixel, final double height); double getBpar(final double line, final double pixel); double getBpar(final Point p); double getTheta(final double line, final double pixel, final double height); double getTheta(final Point p); double getThetaInc(final double line, final double pixel, final double height); double getThetaInc(final Point p); double getB(final double line, final double pixel, final double height); double getB(final Point p); double getAlpha(final double line, final double pixel, final double height); double getAlpha(final Point p); double getBhor(final double line, final double pixel, final double height); double getBvert(final double line, final double pixel, final double height); double getHamb(final double line, final double pixel, final double height);  }### Answer:
@Test public void testGetHamb() throws Exception { Assert.assertEquals(hAmb_1_EXPECTED, baseline.getHamb(line_1, pix_1, 0), DELTA_06); Assert.assertEquals(hAmb_2_EXPECTED, baseline.getHamb(line_2, pix_2, 0), DELTA_06); }