code: def assert_eval_function_equal(f1, f2):
      """Checks whether evaluation functions return the same output for a few inputs"""
      y_true = pd.Series([3, 1, 3])
      y_pred = pd.Series([1, 4, 2])
      assert f1(y_true, y_pred) == f2(y_true, y_pred)
  
      y_true = pd.Series([-20, 2, -10, 3.0])
      y_pred = pd.Series(np.arange(4))
      assert f1(y_true, y_pred) == f2(y_true, y_pred)
  
      y_true = pd.Series([0])
      y_pred = pd.Series([0])
      assert f1(y_true, y_pred) == f2(y_true, y_pred)
  
      np.random.seed(92)
      y_true = np.random.random(42)
      y_pred = np.random.random(42)
      assert_equal(f1(y_true, y_pred), f2(y_true, y_pred))
  
imports: import datetime
  import warnings
  import numpy
  import pandas
  from greykite.common.constants import ADJUSTMENT_DELTA_COL
  from greykite.common.constants import ANOMALY_COL
  from greykite.common.constants import END_TIME_COL
  from greykite.common.constants import EVENT_DF_LABEL_COL
  from greykite.common.constants import METRIC_COL
  from greykite.common.constants import START_TIME_COL
  from greykite.common.constants import TIME_COL
  from greykite.common.constants import VALUE_COL
  from greykite.common.constants import TimeFeaturesEnum
  from greykite.common.features.timeseries_features import add_daily_events
  from greykite.common.features.timeseries_features import build_time_features_df
  from greykite.common.features.timeseries_features import fourier_series_multi_fcn
  from greykite.common.features.timeseries_features import get_default_origin_for_time_vars
  from greykite.common.features.timeseries_features import get_fourier_col_name
  from greykite.common.features.timeseries_features import get_holidays
  from greykite.common.python_utils import assert_equal
label_desc: Use image node_id 10 for calling a global function with example usage: assert_eval_function_equal(f1, f2) without return types