class_docstr: Tests for ValueLearning.
docstr: Tests that target value == r_t + pcont_t * v_t.
code: def testTarget(self):
      """Tests that target value == r_t + pcont_t * v_t."""
      with self.test_session() as sess:
          self.assertAllClose(
              sess.run(self.value_learning.extra.target),
              [-1, -1, -1, -1, -0.5, 0, -1, 0, 1],
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import tensorflow.compat.v1
  import tree
  from trfl import value_ops
label_desc: Use image node_id 4 for calling the TDLearningTest obj's underlying member method code with example usage: obj.testTarget() without return types