code: def test_correctness(self, run_eagerly):
      p = 100000015333
      q = 100000015021
      n = p * q
      nn = n * n
      g = 1 + n
      x = 123456789
      r = 5083216764521909821749
      c = pow(g, x, nn) * pow(r, n, nn) % nn
  
      context = tf_execution_context(run_eagerly)
      with context.scope():
          ek = paillier.EncryptionKey(tf.constant([[str(n)]]))
          plaintext = np.array([[x]]).astype(str)
          randomness = paillier.Randomness(tf.constant([[str(r)]]))
          ciphertext = paillier.encrypt(ek, plaintext, randomness)
  
          expected = np.array([[c]]).astype(str)
          actual = ciphertext.export(tf.string)
  
      np.testing.assert_equal(
          context.evaluate(actual).astype(str), expected
      )
  
file_path: tf-encrypted/primitives/tf_encrypted/primitives/paillier/primitives_test.py
imports: import unittest
  import numpy
  import tensorflow
  from absl.testing import parameterized
  from tf_encrypted.primitives import paillier
  from tf_encrypted.test import tf_execution_context
label_desc: Use image node_id 2 for calling the EncryptionTest obj's underlying member method code with example usage: obj.test_correctness(run_eagerly) without return types