class_docstr: Test cases for common functionality.
class_docstr_tok: ["Test","cases","for","common","functionality","."]
code: def _check(self, tensor, reference, msg):
      test_passed = (tensor == reference).all().item() == 1
      self.assertTrue(test_passed, msg=msg)
  
file_path: CrypTen/test/test_common.py
imports: import sys
  import unittest
  import crypten
  import torch
  from crypten.common.util import chebyshev_series
  from crypten.config import cfg
  from crypten.encoder import FixedPointEncoder, nearest_integer_division
label_desc: Use image node_id 1 for calling the TestCommon obj's underlying member method code with example usage: obj._check(tensor, reference, msg) without return types