code: def test_space_n_agents():
      new_space = space.Space(n_agents=1)
  
      assert new_space.n_agents == 1
  
imports: import numpy
  import pytest
  from opytimizer.core import agent, space
label_desc: Use image node_id 1 for calling a global function with example usage: test_space_n_agents() without return types