code: def test_interp_array():
      assert np.allclose(
          helpers.interp_array(np.array([1, 2, 3])),
          np.linspace(1, 2.9, 20),
      )
  
file_path: hypertools/tests/test_helpers.py
imports: import numpy
  import hypertools._shared.helpers
label_desc: Use image node_id 7 for calling a global function with example usage: test_interp_array() without return types