code: def test_binarize(self) -> None:
      prime_factory = native_factory(tf.int32, 1001)
  
      x = prime_factory.tensor(
          tf.constant(
              [3, -1, 0],
              shape=[3],
              dtype=np.int32,  # == 3  # == p-1 == max  # min
          )
      )
  
      y = x.bits()
  
      expected = np.array(
          [
              [1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
              [0, 0, 0, 1, 0, 1, 1, 1, 1, 1],
              [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
          ]
      ).reshape([3, 10])
  
      actual = y.value
      np.testing.assert_array_equal(actual, expected)
  
file_path: tf-encrypted/tf_encrypted/tensor/native_prime_test.py
imports: import unittest
  import numpy
  import tensorflow
  from tf_encrypted.tensor import native_factory
label_desc: Use image node_id 6 for calling the TestPrimeTensor obj's underlying member method code with example usage: obj.test_binarize() without return types