code: def test_partial_double_seven() -> None:
      mgame = envs.DoubleOSeven()
      mgame.verbose = True
      game = mgame.with_agent(
          player_1=agents.RandomAgent(mgame)
      ).as_single_agent()
      done = False
      game.reset()
      while not done:
          _, rew, done, _ = game.step(2)
      assert rew == 0
  
file_path: nevergrad/nevergrad/functions/rl/test_agents.py
imports: import numpy
  import pytest
  from nevergrad.optimization import optimizerlib
  from nevergrad.optimization import helpers
  from .None import agents
  from .None import envs
  from .None import base
label_desc: Use image node_id 5 for calling a global function with example usage: test_partial_double_seven() without return types