code: def test_progress_from_defaults():
      actual = _Progress.from_defaults(_StartedTracker, completed=5)
      expected = _Progress(
          total=_StartedTracker(completed=5),
          current=_StartedTracker(completed=5),
      )
      assert actual == expected
  
file_path: pytorch-lightning/tests/tests_pytorch/loops/test_progress.py
imports: from copy import deepcopy
  import pytest
  from lightning.pytorch.loops.progress import _BaseProgress, _OptimizerProgress, _ProcessedTracker, _Progress, _ReadyCompletedTracker, _StartedTracker
label_desc: Use image node_id 4 for calling a global function with example usage: test_progress_from_defaults() without return types