code: def test_exog_to_direct_numpy_when_steps_len_exog_numpy_array_1d():
      """
      Test exog_to_direct_numpy results when using steps len_exog (5) and exog
      is a 1d numpy array.
      """
      exog = np.arange(5)
      results = exog_to_direct_numpy(exog=exog, steps=len(exog))
      expected = np.array([[0, 1, 2, 3, 4]])
  
      np.testing.assert_array_equal(results, expected)
  
file_path: skforecast/skforecast/utils/tests/test_exog_to_direct_numpy.py
imports: import re
  import pytest
  import numpy
  import pandas
  from skforecast.utils import exog_to_direct_numpy
label_desc: Use image node_id 4 for calling a global function with example usage: test_exog_to_direct_numpy_when_steps_len_exog_numpy_array_1d() without return types