code: def test_shape(self, data, height, width, expected):
      test_data = {"contour": data}
      result = GenerateSuccinctContourd(
          keys="contour", height=height, width=width
      )(test_data)
      np.testing.assert_allclose(result["contour"], expected)
  
file_path: MONAI/tests/test_generate_succinct_contourd.py
imports: from __future__ import annotations
  import unittest
  import numpy
  from parameterized import parameterized
  from monai.apps.pathology.transforms.post.dictionary import GenerateSuccinctContourd
label_desc: Use image node_id 1 for calling the TestGenerateSuccinctContour obj's underlying member method code with example usage: obj.test_shape(data, height, width, expected) without return types