code: def test_max_min_multiple_columns(fruits_cars: pl.DataFrame) -> None:
      result = fruits_cars.select(max=pl.max_horizontal("A", "B"))
      expected = pl.Series("max", [5, 4, 3, 4, 5])
      assert_series_equal(result.to_series(), expected)
  
      result = fruits_cars.select(min=pl.min_horizontal("A", "B"))
      expected = pl.Series("min", [1, 2, 3, 2, 1])
      assert_series_equal(result.to_series(), expected)
  
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 4 for calling a global function with example usage: test_max_min_multiple_columns(fruits_cars) without return types