code: def test_smoothmix_mnist_certification(
      art_warning, get_default_mnist_subset, get_mnist_classifier
  ):
      (_, _), (x_test, y_test) = get_default_mnist_subset
      x_test, y_test = x_test[:10], y_test[:10]
  
      try:
          _, _, rs = get_mnist_classifier()
          pred, radius = rs.certify(x=x_test, n=250)
  
          np.testing.assert_array_equal(pred.shape, radius.shape)
          np.testing.assert_array_less(radius, 1)
          np.testing.assert_array_less(pred, y_test.shape[1])
  
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/estimators/certification/test_smooth_mix.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import pytest
  import numpy
  from art.estimators.certification.randomized_smoothing import PyTorchSmoothMix
  from tests.utils import ARTTestException, get_image_classifier_pt, get_cifar10_image_classifier_pt
label_desc: Use image node_id 5 for calling a global function with example usage: test_smoothmix_mnist_certification(art_warning, get_default_mnist_subset, get_mnist_classifier) without return types