code: def test_grid_simple_mixed():
      domain = Domain(
          {"x": [-5.0, 6.0], "y": {"sin", "sqr"}, "z": set(range(4))}
      )
      with pytest.raises(exhaustive.DomainNotIterableError):
          _ = exhaustive.GridSearch(domain)
      gs = exhaustive.GridSearch(
          domain, sample_continuous=True, seed=93
      )
      assert len(gs.run_step(batch_size=8)) == 8
  
imports: import pytest
  from hypertunity.domain import Domain
  from hypertunity.optimisation import exhaustive
  from .None import _common
label_desc: Use image node_id 2 for calling a global function with example usage: test_grid_simple_mixed() without return types