code: def test_enqueued_trial() -> None:
      sampler = samplers.GridSampler({"a": [0, 50]})
      study = optuna.create_study(sampler=sampler)
      study.enqueue_trial({"a": 100})
  
      study.optimize(lambda trial: trial.suggest_int("a", 0, 100))
  
      assert len(study.trials) == 3
      assert study.trials[0].params["a"] == 100
      assert sorted(
          [study.trials[1].params["a"], study.trials[2].params["a"]]
      ) == [0, 50]
  
imports: import itertools
  from typing import Dict
  from typing import List
  from typing import Mapping
  from typing import Sequence
  from typing import Union
  from typing import ValuesView
  import numpy
  import pytest
  import optuna
  from optuna import samplers
  from optuna.samplers._grid import GridValueType
  from optuna.storages import RetryFailedTrialCallback
  from optuna.testing.objectives import fail_objective
  from optuna.testing.objectives import pruned_objective
  from optuna.testing.storages import StorageSupplier
  from optuna.trial import Trial
label_desc: Use image node_id 10 for calling a global function with example usage: test_enqueued_trial() without return types