code: def test_ndenumerate(dtype_and_x):
      values = dtype_and_x[1][0]
      for (index1, x1), (index2, x2) in zip(
          np.ndenumerate(values), ivy.ndenumerate(values)
      ):
          assert index1 == index2
          assert x1 == x2.to_numpy()
  
imports: import pytest
  from hypothesis import strategies
  import numpy
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test
label_desc: Use image node_id 14 for calling a global function with example usage: test_ndenumerate(dtype_and_x) without return types