code: def test_rastrigin_bound_fail(outbound):
      """Test rastrigin bound exception"""
      with pytest.raises(ValueError):
          x = outbound(
              b["rastrigin"].low, b["rastrigin"].high, size=(3, 2)
          )
          fx.rastrigin(x)
  
file_path: pyswarms/tests/utils/functions/test_singleobj_bounds.py
imports: from collections import namedtuple
  import numpy
  import pytest
  from pyswarms.utils.functions import single_obj
label_desc: Use image node_id 13 for calling a global function with example usage: test_rastrigin_bound_fail(outbound) without return types