code: def test_array_init_with_list():
      a = array([0, 1, 2, 3, 4])
      assert len(a) == 5
      for idx, val in enumerate(a):
          assert idx == val
          assert type(val) == FloatType
  
file_path: dlib/tools/python/test/test_array.py
imports: from dlib import array
  from pytest import raises
label_desc: Use image node_id 4 for calling a global function with example usage: test_array_init_with_list() without return types