code: def test_shape(self, fforward):
      tmp = fforward(self.data, s=(128, 128), axes=None)
      assert_equal(tmp.shape, (128, 128))
  
imports: from os.path import join, dirname
  from typing import Callable, Dict, Tuple, Union, Type
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_equal, assert_allclose
  import pytest
  from pytest import raises
  from scipy.fft._pocketfft.realtransforms import dct, idct, dst, idst, dctn, idctn, dstn, idstn
label_desc: Use image node_id 5 for calling the Test_DCTN_IDCTN obj's underlying member method code with example usage: obj.test_shape(fforward) without return types