code: def test_dst4_definition_ortho(rdt, mdata_x):
      # Test orthornomal mode.
      dec = dec_map[(dst, rdt, 4)]
      x = np.array(mdata_x, dtype=rdt)
      dt = np.result_type(np.float32, rdt)
      y = dst(x, norm="ortho", type=4)
      y2 = naive_dst4(x, norm="ortho")
      assert_equal(y.dtype, dt)
      assert_array_almost_equal(y, y2, decimal=dec)
  
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 21 for calling a global function with example usage: test_dst4_definition_ortho(rdt, mdata_x) without return types