docstr: Tests building metric with min and max values.
docstr_tok: ["Tests","building","metric","with","min","and","max","values","."]
code: def test_build_metric_min_max(self):
      """Tests building metric with min and max values."""
      bench = perfzero_benchmark.PerfZeroBenchmark()
      metric_name = "metric_name"
      value = 25.93
      min_value = 0.004
      max_value = 59783
  
      expected_metric = {
          "name": metric_name,
          "value": value,
          "min_value": min_value,
          "max_value": max_value,
      }
      metric = bench.build_metric(
          metric_name, value, min_value=min_value, max_value=max_value
      )
      self.assertEqual(metric, expected_metric)
  
file_path: agents/tf_agents/benchmark/perfzero_benchmark_test.py
imports: from tf_agents.benchmark import perfzero_benchmark
  from tf_agents.utils import test_utils
label_desc: Use image node_id 4 for calling the PerfzeroBenchmarkTest obj's underlying member method code with example usage: obj.test_build_metric_min_max() without return types