class_docstr: Test Benchmark
docstr: Test to get experiments list of a benchmark
docstr_tok: ["Test","to","get","experiments","list","of","a","benchmark"]
code: def test_experiments(
      self,
      orionstate,
      benchmark,
      study,
      study_experiments_config,
      max_trial,
  ):
      """Test to get experiments list of a benchmark"""
      experiments = create_study_experiments(
          orionstate, **study_experiments_config
      )
  
      study.experiments_info = list(enumerate(experiments))
  
      benchmark.studies = [study]
  
      assert benchmark.get_experiments() == [
          {
              "Algorithm": "random",
              "Experiment Name": "experiment-name-0",
              "Number Trial": max_trial,
              "Best Evaluation": 0,
          },
          {
              "Algorithm": "tpe",
              "Experiment Name": "experiment-name-1",
              "Number Trial": max_trial,
              "Best Evaluation": 0,
          },
          {
              "Algorithm": "random",
              "Experiment Name": "experiment-name-2",
              "Number Trial": max_trial,
              "Best Evaluation": 0,
          },
          {
              "Algorithm": "tpe",
              "Experiment Name": "experiment-name-3",
              "Number Trial": max_trial,
              "Best Evaluation": 0,
          },
      ]
  
imports: import plotly
  import pytest
  import orion.core.io.experiment_builder
  from orion.benchmark import Benchmark, Study
  from orion.benchmark.assessment import AverageRank, AverageResult
  from orion.benchmark.task import CarromTable, RosenBrock
  from orion.client.experiment import ExperimentClient
  from orion.testing import OrionState, create_study_experiments
label_desc: Use image node_id 6 for calling the TestBenchmark obj's underlying member method code with example usage: obj.test_experiments(orionstate, benchmark, study, study_experiments_config, max_trial) without return types