code: def specification_unittest(self, network, memory):
      states = dict(
          type="float", shape=(3,), min_value=1.0, max_value=2.0
      )
  
      agent, environment = self.prepare(
          states=states, policy=dict(network=network), memory=memory
      )
  
      states = environment.reset()
      internals = agent.initial_internals()
      actions, internals = agent.act(
          states=states, internals=internals, independent=True
      )
      states, terminal, reward = environment.execute(actions=actions)
  
      agent.close()
      environment.close()
  
      self.finished_test()
  
file_path: tensorforce/test/test_specifications.py
imports: import unittest
  from tensorforce.core import tf_function
  from tensorforce.core.memories import Replay
  from tensorforce.core.networks import LayerbasedNetwork
  from test.unittest_base import UnittestBase
label_desc: Use image node_id 1 for calling the TestSpecifications obj's underlying member method code with example usage: obj.specification_unittest(network, memory) without return types