### Question:
Baseline { public double getB(final double line, final double pixel, final double height) throws Exception { return Math.sqrt(sqr(getBpar(line, pixel, height)) + sqr(getBperp(line, pixel, height))); } 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 testGetB() throws Exception { Assert.assertEquals(b_1_EXPECTED, baseline.getB(line_1, pix_1, 0), DELTA_06); Assert.assertEquals(b_2_EXPECTED, baseline.getB(line_2, pix_2, 0), DELTA_06); }