code: def testInspectAll(self):
      data = [
          {"tag": "c", "histo": 2, "step": 10},
          {"tag": "c", "histo": 2, "step": 11},
          {"tag": "c", "histo": 2, "step": 9},
          {"tag": "b", "simple_value": 2, "step": 20},
          {"tag": "b", "simple_value": 2, "step": 15},
          {"tag": "a", "simple_value": 2, "step": 3},
      ]
      self._WriteScalarSummaries(data)
      units = efi.get_inspection_units(self.logdir)
      printable = efi.get_dict_to_print(units[0].field_to_obs)
      self.assertEqual(printable["histograms"]["max_step"], 11)
      self.assertEqual(printable["histograms"]["min_step"], 9)
      self.assertEqual(printable["histograms"]["num_steps"], 3)
      self.assertEqual(printable["histograms"]["last_step"], 9)
      self.assertEqual(printable["histograms"]["first_step"], 10)
      self.assertEqual(
          printable["histograms"]["outoforder_steps"], [(11, 9)]
      )
  
      self.assertEqual(printable["scalars"]["max_step"], 20)
      self.assertEqual(printable["scalars"]["min_step"], 3)
      self.assertEqual(printable["scalars"]["num_steps"], 3)
      self.assertEqual(printable["scalars"]["last_step"], 3)
      self.assertEqual(printable["scalars"]["first_step"], 20)
      self.assertEqual(
          printable["scalars"]["outoforder_steps"], [(20, 15), (15, 3)]
      )
  
file_path: tensorboard/tensorboard/backend/event_processing/event_file_inspector_test.py
imports: import os
  import shutil
  import tensorflow
  from tensorboard.backend.event_processing import event_file_inspector
  from tensorboard.compat.proto import event_pb2
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.util import test_util
label_desc: Use image node_id 7 for calling the EventFileInspectorTest obj's underlying member method code with example usage: obj.testInspectAll() without return types