code: def test_int(self):
      np.random.seed(1234)
      array = np.random.randint(3, 1000, 100)
      int_coder = IntCode("i", 3, 0, False, 16, True)
      int_coder.compute_code(array)
  
      r = int_coder.encode("232")
      assert np.array_equal(np.array(r), np.array([32, 30, 2]))
      decoded = int_coder.decode(r)
      assert decoded == "232"
  
      r = int_coder.encode("nan")
      assert np.array_equal(np.array(r), np.array([36, 31, 15]))
      decoded = int_coder.decode(r)
      assert decoded == "nan"
  
file_path: NeMo/tests/collections/nlp/test_num_encoding.py
imports: import string
  import numpy
  import pytest
  from nemo.collections.common.tokenizers.column_coder import CategoryCode, ColumnCodes, FloatCode, IntCode
label_desc: Use image node_id 2 for calling the TestColumnCoder obj's underlying member method code with example usage: obj.test_int() without return types