code: def test_build_lag_df():
      """Testing build_lag_df."""
      df = pd.DataFrame({"x": range(10), "y": range(100, 110)})
      lag_info = build_lag_df(
          df=df, value_col="x", max_order=3, orders=None
      )
      lag_df = lag_info["lag_df"]
  
      assert list(lag_df.columns) == [
          "x_lag1",
          "x_lag2",
          "x_lag3",
      ], "The expected column names were not found in lags dataframe (lag_df)"
      assert (
          lag_df["x_lag1"].values[2].round(0) == 1.0
      ), "lag value is not correct"
      assert (
          lag_df["x_lag2"].values[7].round(0) == 5.0
      ), "lag value is not correct"
  
      # example with orders provided
      lag_info = build_lag_df(
          value_col="x", df=df, max_order=None, orders=[1, 2, 5]
      )
  
      lag_df = lag_info["lag_df"]
      assert list(lag_df.columns) == [
          "x_lag1",
          "x_lag2",
          "x_lag5",
      ], "The expected column names were not found in lags dataframe (lag_df)"
      assert (
          lag_df["x_lag1"].values[2].round(0) == 1.0
      ), "lag value is not correct"
      assert (
          lag_df["x_lag2"].values[7].round(0) == 5.0
      ), "lag value is not correct"
      assert (
          lag_df["x_lag5"].values[8].round(0) == 3.0
      ), "lag value is not correct"
  
imports: import numpy
  import pandas
  import pytest
  from greykite.common.features.timeseries_lags import build_agg_lag_df
  from greykite.common.features.timeseries_lags import build_autoreg_df
  from greykite.common.features.timeseries_lags import build_autoreg_df_multi
  from greykite.common.features.timeseries_lags import build_lag_df
  from greykite.common.features.timeseries_lags import min_max_lag_order
  from greykite.common.python_utils import assert_equal
label_desc: Use image node_id 1 for calling a global function with example usage: test_build_lag_df() without return types