code: def testParseTimeInterval(self):
      self.assertEqual(
          command_parser.Interval(10, True, 1e3, True),
          command_parser.parse_time_interval("[10us, 1ms]"),
      )
      self.assertEqual(
          command_parser.Interval(10, False, 1e3, False),
          command_parser.parse_time_interval("(10us, 1ms)"),
      )
      self.assertEqual(
          command_parser.Interval(10, False, 1e3, True),
          command_parser.parse_time_interval("(10us, 1ms]"),
      )
      self.assertEqual(
          command_parser.Interval(10, True, 1e3, False),
          command_parser.parse_time_interval("[10us, 1ms)"),
      )
      self.assertEqual(
          command_parser.Interval(0, False, 1e3, True),
          command_parser.parse_time_interval("<=1ms"),
      )
      self.assertEqual(
          command_parser.Interval(1e3, True, float("inf"), False),
          command_parser.parse_time_interval(">=1ms"),
      )
      self.assertEqual(
          command_parser.Interval(0, False, 1e3, False),
          command_parser.parse_time_interval("<1ms"),
      )
      self.assertEqual(
          command_parser.Interval(1e3, False, float("inf"), False),
          command_parser.parse_time_interval(">1ms"),
      )
  
imports: import sys
  from tensorflow.python.debug.cli import command_parser
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 1 for calling the ParseInterval obj's underlying member method code with example usage: obj.testParseTimeInterval() without return types