def METHOD_NAME(self):
    # basic 2-seg line along x
    waypoints = [{"lat": 0, "lon": 0}, {"lat": 1, "lon": 2}]
    trajectory = Trajectory(waypoints, sample_count=5)
    self.assertEqual(trajectory.length, np.sqrt(5))
    self.assertEqual(trajectory.sample_count, 5)
    self.assertEqual(
        trajectory.sampled_points,
        [
            {"lat": 0.0, "lon": 0.0},
            {"lat": 0.25, "lon": 0.5},
            {"lat": 0.5, "lon": 1.0},
            {"lat": 0.75, "lon": 1.5},
            {"lat": 1.0, "lon": 2.0},
        ],
    )