code: def test_constructors():
      defaults = m.default_constructors()
      for a in defaults.values():
          assert a.size == 0
      assert defaults["array"].dtype == np.array([]).dtype
      assert defaults["array_t<int32>"].dtype == np.int32
      assert defaults["array_t<double>"].dtype == np.float64
  
      results = m.converting_constructors([1, 2, 3])
      for a in results.values():
          np.testing.assert_array_equal(a, [1, 2, 3])
      assert results["array"].dtype == np.int_
      assert results["array_t<int32>"].dtype == np.int32
      assert results["array_t<double>"].dtype == np.float64
  
imports: import pytest
  import env
  from pybind11_tests import numpy_array
label_desc: Use image node_id 18 for calling a global function with example usage: test_constructors() without return types