code: def test_check_params(art_warning, image_dl_estimator_for_attack):
      try:
          classifier = image_dl_estimator_for_attack(
              GeoDA, from_logits=True
          )
  
          with pytest.raises(ValueError):
              _ = GeoDA(classifier, batch_size=1.0)
          with pytest.raises(ValueError):
              _ = GeoDA(classifier, batch_size=-1)
  
          with pytest.raises(ValueError):
              _ = GeoDA(classifier, norm=0)
  
          with pytest.raises(ValueError):
              _ = GeoDA(classifier, sub_dim=1.0)
          with pytest.raises(ValueError):
              _ = GeoDA(classifier, sub_dim=-1)
  
          with pytest.raises(ValueError):
              _ = GeoDA(classifier, max_iter=1.0)
          with pytest.raises(ValueError):
              _ = GeoDA(classifier, max_iter=-1)
  
          with pytest.raises(ValueError):
              _ = GeoDA(classifier, max_iter=1.0)
          with pytest.raises(ValueError):
              _ = GeoDA(classifier, max_iter=-1)
  
          with pytest.raises(ValueError):
              _ = GeoDA(classifier, bin_search_tol="1")
          with pytest.raises(ValueError):
              _ = GeoDA(classifier, bin_search_tol=-1.0)
  
          with pytest.raises(ValueError):
              _ = GeoDA(classifier, lambda_param=1)
          with pytest.raises(ValueError):
              _ = GeoDA(classifier, lambda_param=-1.0)
  
          with pytest.raises(ValueError):
              _ = GeoDA(classifier, sigma=1)
          with pytest.raises(ValueError):
              _ = GeoDA(classifier, sigma=-1.0)
  
          # with pytest.raises(ValueError):
          #     _ = GeoDA(classifier, targeted="true")
  
          with pytest.raises(ValueError):
              _ = GeoDA(classifier, verbose="true")
  
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/attacks/evasion/test_geometric_decision_based_attack.py
imports: import logging
  import pytest
  import numpy
  from art.attacks.evasion.geometric_decision_based_attack import GeoDA
  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 8 for calling a global function with example usage: test_check_params(art_warning, image_dl_estimator_for_attack) without return types