code: def test_correct(self, affine, scale, expected):
      output = zoom_affine(affine, scale, diagonal=False)
      ornt_affine = nib.orientations.ornt2axcodes(
          nib.orientations.io_orientation(output)
      )
      ornt_output = nib.orientations.ornt2axcodes(
          nib.orientations.io_orientation(affine)
      )
      np.testing.assert_array_equal(ornt_affine, ornt_output)
      np.testing.assert_allclose(output, expected, rtol=1e-6, atol=1e-6)
  
file_path: MONAI/tests/test_zoom_affine.py
imports: from __future__ import annotations
  import unittest
  import nibabel
  import numpy
  from parameterized import parameterized
  from monai.data.utils import zoom_affine
label_desc: Use image node_id 1 for calling the TestZoomAffine obj's underlying member method code with example usage: obj.test_correct(affine, scale, expected) without return types