code: def _core_test(self, fixedpoint_config):
      prot = tfe.protocol.SecureNN(fixedpoint_config=fixedpoint_config)
      tfe.set_protocol(prot)
  
      bit_dtype = prot.prime_factory
      val_dtype = prot.tensor_factory
  
      x = np.array(
          [21, 21, 21, 21, 21, 21, 21, 21],
          dtype=np.int32,
      ).reshape((2, 2, 2))
  
      r = np.array(
          [36, 20, 21, 22, 36, 20, 21, 22],
          dtype=np.int32,
      ).reshape((2, 2, 2))
  
      beta = np.array(
          [0, 0, 0, 0, 1, 1, 1, 1],
          dtype=np.int32,
      ).reshape((2, 2, 2))
  
      expected = np.bitwise_xor(x > r, beta.astype(bool)).astype(
          np.int32
      )
      x_native = tf.convert_to_tensor(x, dtype=val_dtype.native_type)
      x_bits_preshare = val_dtype.tensor(x_native).bits(bit_dtype)
      x_bits = prot._share(
          x_bits_preshare
      )  # pylint: disable=protected-access
  
      r_native = tf.convert_to_tensor(r, dtype=val_dtype.native_type)
      r0 = r1 = val_dtype.tensor(r_native)
  
      beta_native = tf.convert_to_tensor(
          beta, dtype=bit_dtype.native_type
      )
      beta0 = beta1 = bit_dtype.tensor(beta_native)
  
      res = _private_compare(
          prot,
          x_bits=PondPrivateTensor(prot, *x_bits, False),
          r=PondPublicTensor(prot, r0, r1, False),
          beta=PondPublicTensor(prot, beta0, beta1, False),
      )
      actual = res.reveal().value_on_0.to_native()
      np.testing.assert_array_equal(actual, expected)
  
imports: import random
  import unittest
  import numpy
  import pytest
  import tensorflow
  import tf_encrypted
  from tf_encrypted.protocol.pond import PondPrivateTensor
  from tf_encrypted.protocol.pond import PondPublicTensor
  from tf_encrypted.protocol.securenn.securenn import _private_compare
label_desc: Use image node_id 3 for calling the TestPrivateCompare obj's underlying member method code with example usage: obj._core_test(fixedpoint_config) without return types