code: def test_decode_obj():
      """Test case for decode obj"""
      filename = os.path.join(
          os.path.dirname(os.path.abspath(__file__)),
          "test_obj",
          "sample.obj",
      )
      filename = "file://" + filename
  
      obj = tfio.experimental.image.decode_obj(
          tf.io.read_file(filename)
      )
      expected = np.array(
          [
              [-0.5, 0.0, 0.4],
              [-0.5, 0.0, -0.8],
              [-0.5, 1.0, -0.8],
              [-0.5, 1.0, 0.4],
          ],
          dtype=np.float32,
      )
      assert np.array_equal(obj, expected)
  
imports: import os
  import numpy
  import pytest
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 1 for calling a global function with example usage: test_decode_obj() without return types