code: def test_spatial_case(self, input_data, expected_value):
      result = label_quality_score(**input_data)
      np.testing.assert_allclose(
          result.cpu().numpy(), expected_value, atol=1e-4
      )
  
file_path: MONAI/tests/test_label_quality_score.py
imports: from __future__ import annotations
  import unittest
  import numpy
  import torch
  from parameterized import parameterized
  from monai.metrics import LabelQualityScore, label_quality_score
label_desc: Use image node_id 2 for calling the TestLabelQualityScore obj's underlying member method code with example usage: obj.test_spatial_case(input_data, expected_value) without return types