class_docstr: Test cases for unary operators.
class_docstr_tok: ["Test","cases","for","unary","operators","."]
docstr: Tests closeness of two lists of floats.
docstr_tok: ["Tests","closeness","of","two","lists","of","floats","."]
code: def ListsAreClose(self, result, expected, rtol, atol):
      """Tests closeness of two lists of floats."""
      self.assertEqual(len(result), len(expected))
      for i in range(len(result)):
          self.assertAllClose(result[i], expected[i], rtol, atol)
  
imports: import platform
  import unittest
  import numpy
  import six
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import array_ops_stack
  from tensorflow.python.ops import bitwise_ops
  from tensorflow.python.ops import gen_functional_ops
  from tensorflow.python.ops import gen_nn_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 2 for calling the UnaryOpsTest obj's underlying member method code with example usage: obj.ListsAreClose(result, expected, rtol, atol) without return types