code: def test_check_params(art_warning, image_dl_estimator_for_attack):
      try:
          classifier = image_dl_estimator_for_attack(BoundaryAttack)
  
          with pytest.raises(ValueError):
              _ = BoundaryAttack(classifier, max_iter=1.0)
          with pytest.raises(ValueError):
              _ = BoundaryAttack(classifier, max_iter=-1)
  
          with pytest.raises(ValueError):
              _ = BoundaryAttack(classifier, num_trial=1.0)
          with pytest.raises(ValueError):
              _ = BoundaryAttack(classifier, num_trial=-1)
  
          with pytest.raises(ValueError):
              _ = BoundaryAttack(classifier, sample_size=1.0)
          with pytest.raises(ValueError):
              _ = BoundaryAttack(classifier, sample_size=-1)
  
          with pytest.raises(ValueError):
              _ = BoundaryAttack(classifier, init_size=1.0)
          with pytest.raises(ValueError):
              _ = BoundaryAttack(classifier, init_size=-1)
  
          with pytest.raises(ValueError):
              _ = BoundaryAttack(classifier, epsilon=-1)
  
          with pytest.raises(ValueError):
              _ = BoundaryAttack(classifier, delta=-1)
  
          with pytest.raises(ValueError):
              _ = BoundaryAttack(classifier, step_adapt=-1)
  
          with pytest.raises(ValueError):
              _ = BoundaryAttack(classifier, min_epsilon="1.0")
          with pytest.raises(ValueError):
              _ = BoundaryAttack(classifier, min_epsilon=-1)
  
          with pytest.raises(ValueError):
              _ = BoundaryAttack(classifier, verbose="true")
  
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/attacks/evasion/test_boundary.py
imports: import pytest
  import logging
  from art.attacks.evasion import BoundaryAttack
  from art.estimators.estimator import BaseEstimator
  from art.estimators.classification.classifier import ClassifierMixin
  from tests.attacks.utils import backend_targeted_tabular, backend_untargeted_tabular, backend_targeted_images
  from tests.attacks.utils import back_end_untargeted_images, backend_test_classifier_type_check_fail
  from tests.utils import ARTTestException
label_desc: Use image node_id 4 for calling a global function with example usage: test_check_params(art_warning, image_dl_estimator_for_attack) without return types