code: def test_horizontal_broadcasting() -> None:
      df = pl.DataFrame(
          {
              "a": [1, 3],
              "b": [3, 6],
          }
      )
  
      assert_series_equal(
          df.select(sum=pl.sum_horizontal(1, "a", "b")).to_series(),
          pl.Series("sum", [5, 10]),
      )
      assert_series_equal(
          df.select(max=pl.max_horizontal(4, "*")).to_series(),
          pl.Series("max", [4, 6]),
      )
      assert_series_equal(
          df.select(min=pl.min_horizontal(2, "b", "a")).to_series(),
          pl.Series("min", [1, 2]),
      )
      assert_series_equal(
          df.select(
              any=pl.any_horizontal(False, pl.Series([True, False]))
          ).to_series(),
          pl.Series("any", [True, False]),
      )
      assert_series_equal(
          df.select(
              all=pl.all_horizontal(True, pl.Series([True, False]))
          ).to_series(),
          pl.Series("all", [True, False]),
      )
  
imports: from __future__ import annotations
  import datetime
  from typing import Any
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 19 for calling a global function with example usage: test_horizontal_broadcasting() without return types