code: def test_type_conversions_to_fff():
      # use np.sctypes for testing numpy types, np.typeDict.values
      # contains a lot of duplicates.  There are 140 values in
      # np.typeDict, but only 21 unique numpy types.  But only 11 fff
      # types in c_types.
      for type_key in np.sctypes:
          for npy_t in np.sctypes[type_key]:
              t, nbytes = fff_type(np.dtype(npy_t))
              if t != "unknown type":
                  assert nbytes == np.dtype(npy_t).itemsize
  
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_array_equal
  from ..None import c_types, copy_vector, copy_via_iterators, fff_type, npy_type, pass_array, pass_matrix, pass_vector, pass_vector_via_iterator, sum_via_iterators
label_desc: Use image node_id 2 for calling a global function with example usage: test_type_conversions_to_fff() without return types