code: def _test_probplot(
      sin, fn, col, sum_theoretical, min_sample, max_sample
  ):
      out = fn(sin).result
      assert isinstance(out, pd.DataFrame)
      assert out.columns.tolist() == [
          f"theoretical_{col}",
          f"sample_{col}",
          "reference",
      ]
      assert (
          round(out[f"theoretical_{col}"].sum(), 2) == sum_theoretical
      )
      assert round(out[f"sample_{col}"].min(), 0) == min_sample
      assert round(out[f"sample_{col}"].max(), 0) == max_sample
  
imports: import pytest
  from tests.unit.profile.base import *
  from tslumen.profile.distribution import binned, pd_quantiles, pd_percentiles
label_desc: Use image node_id 3 for calling a global function with example usage: _test_probplot(sin, fn, col, sum_theoretical, min_sample, max_sample) without return types