code: def test_real_grid():
      """Test linear real grid"""
      dim = Real("yolo", "uniform", -5, 10)
      assert real_grid(dim, 6) == [-5, -3, -1, 1, 3, 5]
      assert real_grid(dim, 7) == [-5 + 10 / 6.0 * i for i in range(7)]
  
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 8 for calling a global function with example usage: test_real_grid() without return types