code: def test_surface_image_shape(make_mini_img):
      img = make_mini_img()
      assert img.shape == (9,)
      img = make_mini_img((3,))
      assert img.shape == (3, 9)
      img = make_mini_img((7, 3))
      assert img.shape == (7, 3, 9)
  
file_path: nilearn/nilearn/experimental/surface/tests/test_surface_image.py
imports: import numpy
  import pytest
  from nilearn.experimental.surface import FileMesh, InMemoryMesh, SurfaceImage
label_desc: Use image node_id 2 for calling a global function with example usage: test_surface_image_shape(make_mini_img) without return types