code: def test_array_create_and_resize():
      a = m.create_and_resize(2)
      assert a.size == 4
      assert np.all(a == 42.0)
  
imports: import pytest
  import env
  from pybind11_tests import numpy_array
label_desc: Use image node_id 26 for calling a global function with example usage: test_array_create_and_resize() without return types