code: def test_generate_comparison():
      size = 100
      df1 = pd.DataFrame({"a": np.arange(size)})
      df2 = pd.DataFrame({"a": np.arange(size)})
  
      p1 = ProfileReport(df1, title="p1")
      p2 = ProfileReport(df2, title="p1")
      html = p1.compare(p2).to_html()
      assert len(html) > 0
  
file_path: ydata-profiling/tests/unit/test_comparison.py
imports: import numpy
  import pandas
  import pytest
  from ydata_profiling import ProfileReport, compare
  from ydata_profiling.compare_reports import _compare_title
label_desc: Use image node_id 8 for calling a global function with example usage: test_generate_comparison() without return types