code: def test_check_params(art_warning, image_dl_estimator_for_attack):
      try:
          from art.attacks.evasion import FastGradientMethod
  
          classifier = image_dl_estimator_for_attack(AutoAttack)
  
          attacks = [FastGradientMethod(estimator=classifier)]
  
          with pytest.raises(ValueError):
              _ = AutoAttack(classifier, attacks=attacks, norm=0)
  
          with pytest.raises(ValueError):
              _ = AutoAttack(classifier, attacks=attacks, eps="1")
          with pytest.raises(ValueError):
              _ = AutoAttack(classifier, attacks=attacks, eps=-1.0)
  
          with pytest.raises(ValueError):
              _ = AutoAttack(classifier, attacks=attacks, eps_step="1")
          with pytest.raises(ValueError):
              _ = AutoAttack(classifier, attacks=attacks, eps_step=-1.0)
  
          with pytest.raises(ValueError):
              _ = AutoAttack(
                  classifier, attacks=attacks, batch_size=1.0
              )
          with pytest.raises(ValueError):
              _ = AutoAttack(classifier, attacks=attacks, batch_size=-1)
  
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/attacks/evasion/test_auto_attack.py
imports: import logging
  import pytest
  import numpy
  from art.attacks.evasion import AutoAttack
  from art.attacks.evasion.auto_projected_gradient_descent import AutoProjectedGradientDescent
  from art.attacks.evasion.deepfool import DeepFool
  from art.attacks.evasion.square_attack import SquareAttack
  from art.estimators.estimator import BaseEstimator
  from art.estimators.classification.classifier import ClassifierMixin
  from tests.attacks.utils import backend_test_classifier_type_check_fail
  from tests.utils import ARTTestException
label_desc: Use image node_id 5 for calling a global function with example usage: test_check_params(art_warning, image_dl_estimator_for_attack) without return types