code: def test_get_feature_names_out(df_cyclical, input_features):
      # default features from all variables
      transformer = CyclicalFeatures()
      X = transformer.fit_transform(df_cyclical)
      feat_out = list(df_cyclical.columns) + [
          "day_sin",
          "day_cos",
          "months_sin",
          "months_cos",
      ]
  
      assert list(X.columns) == transformer.get_feature_names_out()
      assert (
          transformer.get_feature_names_out(
              input_features=input_features
          )
          == feat_out
      )
  
      with pytest.raises(ValueError):
          transformer.get_feature_names_out(input_features=["day"])
  
      with pytest.raises(ValueError):
          transformer.get_feature_names_out(
              input_features=["sandia", "banana"]
          )
  
      transformer = CyclicalFeatures(drop_original=True)
      X = transformer.fit_transform(df_cyclical)
      feat_out = ["day_sin", "day_cos", "months_sin", "months_cos"]
      assert list(X.columns) == transformer.get_feature_names_out()
      assert (
          transformer.get_feature_names_out(
              input_features=input_features
          )
          == feat_out
      )
  
file_path: feature_engine/tests/test_creation/test_cyclical_features.py
imports: import pandas
  import pytest
  from numpy import array
  from feature_engine.creation import CyclicalFeatures
label_desc: Use image node_id 9 for calling a global function with example usage: test_get_feature_names_out(df_cyclical, input_features) without return types