code: def test_derive_trajectories_two():
      objects, traj_offsets = cuspatial.derive_trajectories(
          cudf.Series([0, 1]),  # object_id
          cuspatial.GeoSeries([Point(0, 0), Point(1, 1)]),
          cudf.Series([0, 1]),  # timestamp
      )
      cudf.testing.assert_series_equal(
          traj_offsets, cudf.Series([0, 1], dtype="int32")
      )
      cudf.testing.assert_frame_equal(
          objects,
          cudf.DataFrame(
              {
                  "object_id": cudf.Series([0, 1], dtype="int32"),
                  "x": cudf.Series([0, 1], dtype="float64"),
                  "y": cudf.Series([0, 1], dtype="float64"),
                  "timestamp": cudf.Series(
                      [0, 1], dtype="datetime64[ms]"
                  ),
              }
          ),
      )
  
imports: import numpy
  import pytest
  from shapely.geometry import Point
  import cudf
  import cuspatial
label_desc: Use image node_id 12 for calling a global function with example usage: test_derive_trajectories_two() without return types