class_docstr: Ways of Dimensions builder.
class_docstr_tok: ["Ways","of","Dimensions","builder","."]
docstr: Check that a Fidelity dimension is correctly built.
docstr_tok: ["Check","that","a","Fidelity","dimension","is","correctly","built","."]
code: def test_build_a_good_fidelity(self, dimbuilder):
      """Check that a Fidelity dimension is correctly built."""
      dim = dimbuilder.build("epoch", "fidelity(1, 16, 4)")
      assert isinstance(dim, Fidelity)
      assert dim.name == "epoch"
      assert dim.low == 1
      assert dim.high == 16
      assert dim.base == 4
      assert dim._prior_name == "None"
      assert dim.prior is None
  
imports: import pytest
  from scipy.stats import distributions
  from orion.algo.space import Categorical, Fidelity, Integer, Real
  from orion.core.io.space_builder import DimensionBuilder, SpaceBuilder
label_desc: Use image node_id 6 for calling the TestDimensionBuilder obj's underlying member method code with example usage: obj.test_build_a_good_fidelity(dimbuilder) without return types