### Question:
Feet extends Length { @Override public double inFeet() { return getMagnitude(); } Feet(double feet);  Feet(Length dist); @Override Feet clone(); @Override String getLongLabel(boolean plural); @Override String getShortLabel(boolean plural); @Override double inFeet(); static final String FEET_LONG_LABEL1; static final String FEET_LONG_LABEL2; static final String FEET_SHORT_LABEL; }### Answer:
@Test public void testUnits() { Length dist = new Feet(5280.); Assert.assertEquals(5280., dist.inFeet(), 0.); Assert.assertEquals(1609.344, dist.inMeters(), 0.); Assert.assertEquals(5280., new Feet(dist).getMagnitude(), 0.); Assert.assertEquals(63360., new Inches(dist).getMagnitude(), 0.); Assert.assertEquals(0.86897624190064794816414686825054, new NauticalMiles(dist).getMagnitude(), 0.); Assert.assertEquals(1609.344, new Meters(dist).getMagnitude(), 0.); Assert.assertEquals(1.609344, new Kilometers(dist).getMagnitude(), 0.); Assert.assertEquals(1., new StatuteMiles(dist).getMagnitude(), 0.); Assert.assertEquals(1760., new Yards(dist).getMagnitude(), 0.); }