code: def test_time_dimension_by_time_type_matcher() -> None:  # noqa: D
      assert defaults.TimeDimensionByTimeTypeRule().match_column(
          get_column_properties(
              "db.schema.table.time", InferenceColumnType.DATETIME, True
          )
      )
  
      assert not defaults.TimeDimensionByTimeTypeRule().match_column(
          get_column_properties(
              "db.schema.table.time", InferenceColumnType.INTEGER, True
          )
      )
      assert not defaults.TimeDimensionByTimeTypeRule().match_column(
          get_column_properties(
              "db.schema.table.time", InferenceColumnType.FLOAT, True
          )
      )
      assert not defaults.TimeDimensionByTimeTypeRule().match_column(
          get_column_properties(
              "db.schema.table.time", InferenceColumnType.BOOLEAN, True
          )
      )
      assert not defaults.TimeDimensionByTimeTypeRule().match_column(
          get_column_properties(
              "db.schema.table.time", InferenceColumnType.STRING, True
          )
      )
      assert not defaults.TimeDimensionByTimeTypeRule().match_column(
          get_column_properties(
              "db.schema.table.time", InferenceColumnType.UNKNOWN, True
          )
      )
  
file_path: metricflow/metricflow/test/inference/rule/test_defaults.py
imports: from __future__ import annotations
  import metricflow.inference.rule.defaults
  from metricflow.dataflow.sql_column import SqlColumn
  from metricflow.dataflow.sql_table import SqlTable
  from metricflow.inference.context.data_warehouse import ColumnProperties, DataWarehouseInferenceContext, InferenceColumnType, TableProperties
  from metricflow.inference.models import InferenceSignalType
label_desc: Use image node_id 5 for calling a global function with example usage: test_time_dimension_by_time_type_matcher() without return types