code: def test_to_arrays():
      # Test that an IntFloatDict is converted into arrays
      # of keys and values correctly
      keys_in = np.array([1, 2, 3], dtype=np.intp)
      values_in = np.array([4, 5, 6], dtype=np.float64)
  
      d = IntFloatDict(keys_in, values_in)
      keys_out, values_out = d.to_arrays()
  
      assert keys_out.dtype == keys_in.dtype
      assert values_in.dtype == values_out.dtype
      assert_array_equal(keys_out, keys_in)
      assert_allclose(values_out, values_in)
  
imports: import numpy
  from numpy.testing import assert_allclose, assert_array_equal
  from sklearn.utils._fast_dict import IntFloatDict, argmin
label_desc: Use image node_id 3 for calling a global function with example usage: test_to_arrays() without return types