code: def test_number() -> None:
      params = {"x": 1}
      trial = FixedTrial(params, 2)
      assert trial.number == 2
  
      trial = FixedTrial(params)
      assert trial.number == 0
  
imports: from __future__ import annotations
  import pytest
  from optuna.trial import FixedTrial
label_desc: Use image node_id 3 for calling a global function with example usage: test_number() without return types