code: def test_sum_max_min() -> None:
      df = pl.DataFrame({"a": [1, 2, 3], "b": [1.0, 2.0, 3.0]})
      out = df.select(
          sum=pl.sum_horizontal("a", "b"),
          max=pl.max_horizontal("a", pl.col("b") ** 2),
          min=pl.min_horizontal("a", pl.col("b") ** 2),
      )
      assert_series_equal(out["sum"], pl.Series("sum", [2.0, 4.0, 6.0]))
      assert_series_equal(out["max"], pl.Series("max", [1.0, 4.0, 9.0]))
      assert_series_equal(out["min"], pl.Series("min", [1.0, 2.0, 3.0]))
  
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 14 for calling a global function with example usage: test_sum_max_min() without return types