@Test
public void convertDistance3() {

    Convert.metric = false;
    assertEquals("3 ft", Convert.distance3(1));
    assertEquals("3281 ft", Convert.distance3(1000));
    assertEquals("1 mi", Convert.distance3(1609.34));
    assertEquals("10 mi", Convert.distance3(16093.4));
    assertEquals("", Convert.distance3(Double.NaN));
    assertEquals("Infinity", Convert.distance3(Double.POSITIVE_INFINITY));
    assertEquals("-Infinity", Convert.distance3(Double.NEGATIVE_INFINITY));
}