code: def test_truth(self):
      this_truth = self.truth[self.args.s][self.args.preprocess]
      for index, i in enumerate(self.result):
          assert this_truth[index][0] == i[0]
          assert np.isclose(this_truth[index][1], i[1], atol=1e-6)
  
      print(
          "Test model [{}] from [{}] passed.".format(
              self.args.preprocess, self.args.s
          )
      )
  
file_path: MMdnn/mmdnn/conversion/examples/imagenet_test.py
imports: from __future__ import absolute_import
  import argparse
  import numpy
  from six import text_type
  from PIL import Image
label_desc: Use image node_id 10 for calling the TestKit obj's underlying member method code with example usage: obj.test_truth() without return types