code: def test_interpolation_values_preset(self):
      voxels = np.zeros((2, 2, 2, 1))
      voxels[(0, 1, 1, 0), (0, 0, 1, 1), (0, 0, 0, 0), 0] = 1
      sampling_points = np.array(
          (
              (0, 0, 0),
              (0.5, 0, 0),
              (1.0, 0, 0),
              (0.0, 0, 0.25),
              (0.0, 0, 0.5),
              (0.0, 0, 0.75),
              (0.0, 0, 1.0),
              (0.0, 0, 2.0),
              (-1.0, -0.5, 0),
              (0, 2, 1.5),
          )
      )
      correct_values = np.array(
          ((1.0, 1.0, 1.0, 0.75, 0.5, 0.25, 0.0, 0.0, 1.0, 0.0),)
      ).T
  
      self.assert_output_is_correct(
          trilinear.interpolate,
          (voxels, sampling_points),
          (correct_values,),
          tile=False,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import numpy
  from six.moves import range
  import tensorflow
  from tensorflow_graphics.geometry.representation import grid
  from tensorflow_graphics.geometry.transformation import rotation_matrix_3d
  from tensorflow_graphics.math.interpolation import trilinear
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 3 for calling the TrilinearTest obj's underlying member method code with example usage: obj.test_interpolation_values_preset() without return types