code: def test_args(self):
      args = self.parser.parse_args(
          ["tempo", ANNOTATIONS_PATH, DETECTIONS_PATH]
      )
      self.assertTrue(args.ann_dir is None)
      self.assertTrue(args.ann_suffix == ".bpm")
      self.assertTrue(args.det_dir is None)
      self.assertTrue(args.det_suffix == ".bpm.txt")
      self.assertTrue(args.double is True)
      self.assertTrue(args.eval == TempoEvaluation)
      self.assertTrue(args.files == [ANNOTATIONS_PATH, DETECTIONS_PATH])
      self.assertTrue(args.ignore_non_existing is False)
      self.assertTrue(args.mean_eval == TempoMeanEvaluation)
      # self.assertTrue(args.outfile == StringIO.StringIO)
      from madmom.evaluation import tostring
  
      self.assertTrue(args.output_formatter == tostring)
      self.assertTrue(args.quiet is False)
      self.assertTrue(args.sum_eval is None)
      self.assertTrue(args.tolerance == 0.04)
      self.assertTrue(args.triple is True)
      self.assertTrue(args.verbose == 0)
  
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 2 for calling the TestAddParserFunction obj's underlying member method code with example usage: obj.test_args() without return types