code: def test_grid_search_continuous():
      parameters = [sherpa.Continuous("continuous", [1, 3])]
  
      alg = sherpa.algorithms.GridSearch(num_grid_points=3)
  
      suggestion = alg.get_suggestion(parameters)
      seen = set()
  
      while suggestion != sherpa.AlgorithmState.DONE:
          seen.add(suggestion["continuous"])
          suggestion = alg.get_suggestion(parameters)
  
      assert seen == {1.0, 2.0, 3.0}
  
imports: from __future__ import absolute_import
  import collections
  import pandas
  import numpy
  import sherpa
  import logging
  import itertools
  import pytest
  from testing_utils import *
label_desc: Use image node_id 5 for calling a global function with example usage: test_grid_search_continuous() without return types