code: def test_types(self):
      scores = tempo_evaluation(DETECTIONS, ANNOTATIONS)
      self.assertIsInstance(scores, tuple)
      # detections / annotations must be correct type
      scores = tempo_evaluation([], [])
      self.assertIsInstance(scores, tuple)
      scores = tempo_evaluation({}, {})
      self.assertIsInstance(scores, tuple)
      # tolerance must be correct type
      scores = tempo_evaluation(DETECTIONS, ANNOTATIONS, int(1.2))
      self.assertIsInstance(scores, tuple)
  
imports: from __future__ import absolute_import, division, print_function
  import math
  import unittest
  from madmom.evaluation.tempo import *
  from .None import ANNOTATIONS_PATH, DETECTIONS_PATH
label_desc: Use image node_id 1 for calling the TestTempoEvaluationFunction obj's underlying member method code with example usage: obj.test_types() without return types