def METHOD_NAME(self):
    # basic 2-seg line along x
    waypoints = [
        {"lat": 0, "lon": 0},
        {"lat": 0, "lon": 1},
        {"lat": 0, "lon": 2},
    ]
    trajectory = Trajectory(waypoints, sample_count=21)
    self.assertEqual(trajectory.length, 2.0)
    self.assertEqual(trajectory.sample_count, 21)
    self.assertEqual(
        trajectory.sampled_points[19],
        {"lat": 0.0, "lon": 1.9000000000000001},
    )