code: def test_digest(checksum, expected):
      assert expected == _digest(checksum)
  
file_path: dvc/tests/unit/command/test_diff.py
imports: import collections
  import os
  import pytest
  from dvc.cli import parse_args
  from dvc.commands.diff import _digest, _show_markdown
label_desc: Use image node_id 1 for calling a global function with example usage: test_digest(checksum, expected) without return types