code: def test_process_params(configs):
      """Tests process input parameters."""
      model = SeasonalityInferrer()
      configs_new = model._process_params(
          configs=configs,
          adjust_trend_method=TrendAdjustMethodEnum.spline_fit.name,
          adjust_trend_param=None,
          fit_algorithm="linear",
          tolerance=0.0,
          plotting=False,
          aggregation_period=None,
          offset=None,
          criterion="bic",
      )
      assert configs_new == [
          SeasonalityInferConfig(
              seas_name="yearly",
              col_name="ct1",
              period=1,
              max_order=10,
              adjust_trend_method=TrendAdjustMethodEnum.spline_fit.name,
              adjust_trend_param=None,
              fit_algorithm="linear",
              tolerance=0.0,
              plotting=False,
              aggregation_period="W",
              offset=1,
              criterion="bic",
          ),
          SeasonalityInferConfig(
              seas_name="weekly",
              col_name="year_woy_iso",
              period=7,
              max_order=10,
              adjust_trend_method=TrendAdjustMethodEnum.spline_fit.name,
              adjust_trend_param=None,
              fit_algorithm="linear",
              tolerance=0.0,
              plotting=False,
              aggregation_period=None,
              offset=0,
              criterion="bic",
          ),
      ]
  
file_path: greykite/greykite/tests/algo/common/test_seasonality_inferrer.py
imports: from copy import deepcopy
  import pandas
  import pytest
  from greykite.algo.common.seasonality_inferrer import SeasonalityInferConfig
  from greykite.algo.common.seasonality_inferrer import SeasonalityInferrer
  from greykite.algo.common.seasonality_inferrer import TrendAdjustMethodEnum
  from greykite.common import constants
  from greykite.common.testing_utils import assert_equal
  from greykite.common.testing_utils import generate_df_for_tests
  from greykite.common.time_properties import infer_freq
label_desc: Use image node_id 5 for calling a global function with example usage: test_process_params(configs) without return types