code: def test_noninteractive_truncate(self):
      prot = tfe.protocol.Pond(fixedpoint_config=fixed100_ni)
      tfe.set_protocol(prot)
  
      expected = np.array([12345.6789])
      w = prot.define_private_variable(
          expected * prot.fixedpoint_config.scaling_factor
      )  # double precision
      v = prot.truncate(w)  # single precision
      actual = v.reveal().to_native()
      np.testing.assert_allclose(actual, expected)
  
imports: import unittest
  import numpy
  import pytest
  import tensorflow
  import tf_encrypted
  from tf_encrypted.protocol.pond import PondMaskedTensor
  from tf_encrypted.protocol.pond import PondPublicTensor
  from tf_encrypted.tensor import fixed100
  from tf_encrypted.tensor import fixed100_ni
  from tf_encrypted.tensor import int64factory
  from tf_encrypted.tensor import int100factory
  from tf_encrypted.tensor import native_factory
label_desc: Use image node_id 2 for calling the TestTruncate obj's underlying member method code with example usage: obj.test_noninteractive_truncate() without return types