docstr: Checks that render returns the expected value.
docstr_tok: ["Checks","that","render","returns","the","expected","value","."]
code: def test_render_preset(self):
      """Checks that render returns the expected value."""
      (
          x_voxels_init,
          y_images_init,
      ) = test_helpers.generate_preset_test_voxels_absorption_render()
  
      voxels = tf.convert_to_tensor(value=x_voxels_init)
      y_images = tf.convert_to_tensor(value=y_images_init)
  
      y = absorption.render(
          voxels, absorption_factor=0.1, cell_size=0.2
      )
  
      self.assertAllClose(y_images, y)
  
file_path: graphics/tensorflow_graphics/rendering/volumetric/tests/absorption_test.py
imports: from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.rendering.volumetric import absorption
  from tensorflow_graphics.rendering.volumetric.tests import test_helpers
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 4 for calling the AbsorptionTest obj's underlying member method code with example usage: obj.test_render_preset() without return types