code: def test_3d_shape(self):
      new_shape = (8, 8, 7)
      self.run_test(new_shape, new_shape)
  
      new_shape = (20, 18, 17)
      self.run_test(new_shape, new_shape)
  
      new_shape = (16, 16, 16)
      self.run_test(new_shape, new_shape)
  
file_path: NiftyNet/tests/linear_resize_test.py
imports: from __future__ import absolute_import, print_function
  import tensorflow
  from niftynet.layer.linear_resize import LinearResizeLayer
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 4 for calling the LinearResizeTest obj's underlying member method code with example usage: obj.test_3d_shape() without return types