code: def test_max_min_nulls_consistency() -> None:
      df = pl.DataFrame(
          {"a": [None, 2, 3], "b": [4, None, 6], "c": [7, 5, 0]}
      )
  
      result = df.select(
          max=pl.max_horizontal("a", "b", "c")
      ).to_series()
      expected = pl.Series("max", [7, 5, 6])
      assert_series_equal(result, expected)
  
      result = df.select(
          min=pl.min_horizontal("a", "b", "c")
      ).to_series()
      expected = pl.Series("min", [4, 2, 0])
      assert_series_equal(result, 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 5 for calling a global function with example usage: test_max_min_nulls_consistency() without return types