code: def test_interp(self):
      self.assertEqual(str(p.nearest), "InterpolationType.nearest")
      self.assertEqual(str(p.linear), "InterpolationType.linear")
      self.assertEqual(str(p.quadratic), "InterpolationType.quadratic")
      self.assertEqual(str(p.cubic), "InterpolationType.cubic")
      self.assertEqual(str(p.fourth), "InterpolationType.fourth")
      self.assertEqual(str(p.fifth), "InterpolationType.fifth")
      self.assertEqual(str(p.sixth), "InterpolationType.sixth")
      self.assertEqual(str(p.seventh), "InterpolationType.seventh")
  
      self.assertEqual(int(p.nearest), 0)
      self.assertEqual(int(p.linear), 1)
      self.assertEqual(int(p.quadratic), 2)
      self.assertEqual(int(p.cubic), 3)
      self.assertEqual(int(p.fourth), 4)
      self.assertEqual(int(p.fifth), 5)
      self.assertEqual(int(p.sixth), 6)
      self.assertEqual(int(p.seventh), 7)
  
file_path: MONAI/tests/test_enum_bound_interp.py
imports: from __future__ import annotations
  import unittest
  from monai.utils import optional_import
  from tests.utils import skip_if_no_cpp_extension
label_desc: Use image node_id 2 for calling the TestEnumBoundInterp obj's underlying member method code with example usage: obj.test_interp() without return types