class_docstr: Unit-test base class.
class_docstr_tok: ["Unit-test","base","class","."]
docstr: Generic unit-test.
docstr_tok: ["Generic","unit-test","."]
code: def unittest(
      self,
      environment=None,
      states=None,
      actions=None,
      num_episodes=None,
      experience_update=None,
      **agent,
  ):
      """
      Generic unit-test.
      """
      agent, environment = self.prepare(
          environment=environment,
          states=states,
          actions=actions,
          **agent,
      )
  
      self.execute(
          agent=agent,
          environment=environment,
          num_episodes=num_episodes,
          experience_update=experience_update,
      )
  
file_path: tensorforce/test/unittest_base.py
imports: from copy import deepcopy
  from datetime import datetime
  import sys
  from tensorforce import Agent, Environment, Runner
  from test.unittest_environment import UnittestEnvironment
label_desc: Use image node_id 7 for calling the UnittestBase obj's underlying member method code with example usage: obj.unittest(environment, states, actions, num_episodes, experience_update) without return types