code: def test_pval_max_min():
      assert engle_granger_pval(300.0, "n", 2) == 1.0
      assert engle_granger_pval(-300.0, "n", 2) == 0.0
  
file_path: arch/arch/tests/unitroot/test_engle_granger.py
imports: import numpy
  from numpy.testing import assert_allclose
  import pandas
  import pytest
  from statsmodels.iolib.summary import Summary
  from arch.unitroot._engle_granger import engle_granger_cv, engle_granger_pval
  from arch.unitroot._shared import ResidualCointegrationTestResult, _cross_section
  from arch.unitroot.cointegration import engle_granger
label_desc: Use image node_id 7 for calling a global function with example usage: test_pval_max_min() without return types