code: def test_create_output_array():
      # Prepare Data
      inputs = [["a", "b"], ["b", "b", "b"]]
      output_dict = {"c": 0, "a": 1, "b": 2}
  
      # Inputs property
      max_length = max([len(x) for x in inputs])
  
      output = dc.utils.batch_utils.create_output_array(
          inputs, max_length, 2, output_dict, "c"
      )
  
      assert output.shape == (2, 3)
      assert np.allclose(
          output, np.array([[1.0, 2.0, 0.0], [2.0, 2.0, 2.0]])
      )
  
imports: import os
  import deepchem
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: test_create_output_array() without return types