class_docstr: Unittests for the tracker class
class_docstr_tok: ["Unittests","for","the","tracker","class"]
docstr: Assert reset empties totals, history and latest
docstr_tok: ["Assert","reset","empties","totals",",","history","and","latest"]
code: def test_reset(self):
      """Assert reset empties totals, history and latest"""
  
      tracker = Tracker()
  
      tracker.totals = {"a": 1}
      tracker.history = {"a": [1]}
      tracker.latest = {"a": 1}
  
      tracker.reset()
  
      assert tracker.totals == dict()
      assert tracker.history == dict()
      assert tracker.latest == dict()
  
file_path: pennylane/tests/test_tracker.py
imports: import pytest
  import pennylane
  from pennylane import Tracker
label_desc: Use image node_id 5 for calling the TestTrackerCoreBehavior obj's underlying member method code with example usage: obj.test_reset() without return types