class_docstr: Test suite for the HEBO algorithm.
class_docstr_tok: ["Test","suite","for","the","HEBO","algorithm","."]
docstr: Verify that suggest returns correct number of trials if ``num`` is specified in ``suggest``.
docstr_tok: ["Verify","that","suggest","returns","correct","number","of","trials","if","``","num","``","is","specified","in","``","suggest","``","."]
code: def test_suggest_n(self):
      """Verify that suggest returns correct number of trials if ``num`` is specified in ``suggest``."""
      algo = self.create_algo()
      trials = algo.suggest(5)
      assert trials is not None
      # HEBO sometimes returns fewer than 5 trials.
      assert 3 <= len(trials) <= 5
  
file_path: orion/tests/unittests/algo/long/hebo/test_hebo.py
imports: from __future__ import annotations
  import dataclasses
  import typing
  from typing import ClassVar
  import pytest
  from orion.algo.hebo.hebo_algo import HEBO, EvolutionStrategyName, ModelName, import_optional, properly_seeded_models
  from orion.testing.algo import BaseAlgoTests, TestPhase, first_phase_only
  from hebo.models.model_factory import model_dict
  from pymoo.factory import get_algorithm_options
label_desc: Use image node_id 2 for calling the TestHEBO obj's underlying member method code with example usage: obj.test_suggest_n() without return types