code: def test_parameters():
      c, cl, d, dl, ch = get_test_parameters()
  
      assert c.name == "a"
      assert all(1 <= c.sample() <= 2 for _ in range(10))
      assert all(1 <= cl.sample() <= 2 for _ in range(10))
      assert all(1 <= d.sample() <= 10 for _ in range(10))
      assert all(1 <= dl.sample() <= 10 for _ in range(10))
      assert all(ch.sample() in [1, 10] for _ in range(10))
  
file_path: sherpa/tests/test_study.py
imports: import pytest
  import sherpa
  import sherpa.core
  import sherpa.schedulers
  import sherpa.database
  import pandas
  import collections
  from testing_utils import *
label_desc: Use image node_id 2 for calling a global function with example usage: test_parameters() without return types