code: def test_values_in_world():
      """Test the evaluation of the data in world coordinate."""
      shape = (3, 5, 4, 2)
      data = np.random.random(shape)
      affine = np.eye(4)
      ref_im = VolumeImg(data, affine, "mine")
      x, y, z = np.indices(ref_im.get_fdata().shape[:3])
      values = ref_im.values_in_world(x, y, z)
      np.testing.assert_almost_equal(values, data)
  
imports: import copy
  import numpy
  import pytest
  from numpy.testing import assert_almost_equal, assert_array_equal
  from ...transforms.affine_transform import AffineTransform
  from ...transforms.affine_utils import from_matrix_vector
  from ...transforms.transform import Transform
  from ..volume_img import CompositionError, VolumeImg
label_desc: Use image node_id 9 for calling a global function with example usage: test_values_in_world() without return types