class_docstr: Unit tests for AgentBaseClass.
class_docstr_tok: ["Unit","tests","for","AgentBaseClass","."]
code: def test_init_box_observation_space(self):
      action_space = spaces.Discrete(2)
      observation_space = spaces.Box(0, 1, (1,))
      sut = FakeAgentBaseClass(observation_space, action_space)
  
      self.assertEqual(sut._num_actions, 2)
      self.assertIsNone(sut._num_states)
      self.assertEqual(sut._shape_of_inputs, (1,))
      self.assertFalse(sut._discrete_observation_space)
      self.assertIsNone(sut._space_discretizer)
      self.assertIsNone(sut._preprocessor)
  
file_path: CNTK/bindings/python/cntk/contrib/deeprl/tests/agent_test.py
imports: import unittest
  import cntk.contrib.deeprl.tests.spaces
  from cntk.contrib.deeprl.agent.agent import AgentBaseClass
label_desc: Use image node_id 5 for calling the AgentBaseClassTest obj's underlying member method code with example usage: obj.test_init_box_observation_space() without return types