code: def evaluate_function(
      self,
      aug_function: Callable[..., None],
      ref_filename: Optional[str] = None,
      **kwargs,
  ) -> None:
      ref_filename = ref_filename or aug_function.__name__
      ref_vid_path = self.get_ref_video(ref_filename)
  
      if not kwargs.pop("diff_video_input", False):
          kwargs["video_path"] = self.local_vid_path
  
      with tempfile.NamedTemporaryFile(suffix=".mp4") as tmpfile:
          aug_function(output_path=tmpfile.name, **kwargs)
          self.assertTrue(
              are_equal_videos(ref_vid_path, tmpfile.name),
              "Expected and outputted videos do not match",
          )
  
file_path: AugLy/augly/tests/video_tests/base_unit_test.py
imports: import filecmp
  import os
  import tempfile
  import unittest
  from typing import Any, Callable, Dict, List, Optional, Tuple
  from augly.tests import VideoAugConfig
  from augly.utils import pathmgr, TEST_URI
label_desc: Use image node_id 4 for calling the BaseVideoUnitTest obj's underlying member method code with example usage: obj.evaluate_function(aug_function, ref_filename) without return types