class_docstr: Test nonparametric.py.
docstr: Test function madmedianrule.
docstr_tok: ["Test","function","madmedianrule","."]
code: def test_madmedianrule(self):
      """Test function madmedianrule."""
      a = [1.2, 3, 4.5, 2.4, 5, 12.7, 0.4]
      assert np.all(
          madmedianrule(a)
          == [False, False, False, False, False, True, False]
      )
  
file_path: pingouin/pingouin/tests/test_nonparametric.py
imports: import pytest
  import scipy
  import numpy
  import pandas
  from unittest import TestCase
  from pingouin.nonparametric import mad, madmedianrule, mwu, wilcoxon, kruskal, friedman, cochran, harrelldavis
label_desc: Use image node_id 2 for calling the TestNonParametric obj's underlying member method code with example usage: obj.test_madmedianrule() without return types