code: def test_log_discrete_grid():
      """Test log discrete grid"""
      dim = Integer("yolo", "reciprocal", 1, 1000)
      assert discrete_grid(dim, 4) == [1, 10, 100, 1000]
      assert discrete_grid(dim, 6) == [1, 4, 16, 63, 251, 1000]
  
imports: from __future__ import annotations
  import logging
  import numpy.testing
  import pytest
  from orion.algo.gridsearch import GridSearch, categorical_grid, discrete_grid, grid, real_grid
  from orion.algo.space import Categorical, Integer, Real, Space
  from orion.testing.algo import BaseAlgoTests
label_desc: Use image node_id 6 for calling a global function with example usage: test_log_discrete_grid() without return types