code: def test_get_simple_time_frequency_from_period():
      """Tests get_simple_time_frequency_from_period function"""
      assert (
          get_simple_time_frequency_from_period(1.0)
          == SimpleTimeFrequencyEnum.MINUTE
      )
      assert (
          get_simple_time_frequency_from_period(120.0)
          == SimpleTimeFrequencyEnum.MINUTE
      )
      assert (
          get_simple_time_frequency_from_period(3600.0)
          == SimpleTimeFrequencyEnum.HOUR
      )
      assert (
          get_simple_time_frequency_from_period(6 * 3600.0)
          == SimpleTimeFrequencyEnum.HOUR
      )
      assert (
          get_simple_time_frequency_from_period(24 * 3600.0)
          == SimpleTimeFrequencyEnum.DAY
      )
      assert (
          get_simple_time_frequency_from_period(7 * 24 * 3600.0)
          == SimpleTimeFrequencyEnum.WEEK
      )
      assert (
          get_simple_time_frequency_from_period(31 * 24 * 3600.0)
          == SimpleTimeFrequencyEnum.MONTH
      )
      assert (
          get_simple_time_frequency_from_period(366 * 24 * 3600.0)
          == SimpleTimeFrequencyEnum.YEAR
      )
      assert (
          get_simple_time_frequency_from_period(600 * 24 * 3600.0)
          == SimpleTimeFrequencyEnum.MULTIYEAR
      )
  
file_path: greykite/greykite/tests/common/test_time_properties_forecast.py
imports: import datetime
  from datetime import timedelta
  from greykite.common.constants import TIME_COL
  from greykite.common.constants import VALUE_COL
  from greykite.common.enums import SimpleTimeFrequencyEnum
  from greykite.common.enums import TimeEnum
  from greykite.common.features.timeseries_features import get_default_origin_for_time_vars
  from greykite.common.testing_utils import generate_df_for_tests
  from greykite.common.testing_utils import generate_df_with_reg_for_tests
  from greykite.common.time_properties_forecast import get_default_horizon_from_period
  from greykite.common.time_properties_forecast import get_forecast_time_properties
  from greykite.common.time_properties_forecast import get_simple_time_frequency_from_period
label_desc: Use image node_id 1 for calling a global function with example usage: test_get_simple_time_frequency_from_period() without return types