@Test
public void convertAltitude() {

    Convert.metric = false;
    assertEquals("0 ft", Convert.altitude(0.0));
    assertEquals("3.3 kft", Convert.altitude(1000.0));
    assertEquals("", Convert.altitude(Double.NaN));
    assertEquals("Infinity", Convert.altitude(Double.POSITIVE_INFINITY));
}