public Distance avgAltitude() {
        double avgInFeet = (point1.altitude().inFeet() + point2.altitude().inFeet()) / 2.0;
        return Distance.ofFeet(avgInFeet);
    }
@Test
    public void testAvgAltitude() {

        Point p1 = Point.builder().altitude(Distance.ofFeet(1000.0)).time(EPOCH).latLong(0.0, 0.0).build();
        Point p2 = Point.builder().altitude(Distance.ofFeet(1500.0)).time(EPOCH).latLong(0.0, 0.0).build();

        PointPair pair = PointPair.of(p1, p2);

        assertEquals(
            Distance.ofFeet(1250.0),
            pair.avgAltitude()
        );
    }