code: def test_cross_join() -> None:
      # triggers > 100 rows implementation
      # https://github.com/pola-rs/polars/blob/5f5acb2a523ce01bc710768b396762b8e69a9e07/polars/polars-core/src/frame/cross_join.rs#L34
      df1 = pl.DataFrame({"col1": ["a"], "col2": ["d"]})
      df2 = pl.DataFrame({"frame2": pl.arange(0, 100, eager=True)})
      out = df2.join(df1, how="cross")
      df2 = pl.DataFrame({"frame2": pl.arange(0, 101, eager=True)})
      assert_frame_equal(df2.join(df1, how="cross").slice(0, 100), out)
  
file_path: polars/py-polars/tests/benchmark/test_release.py
imports: import time
  from pathlib import Path
  from typing import cast
  import numpy
  import pytest
  import polars
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 6 for calling a global function with example usage: test_cross_join() without return types