def test_minmax_pow(self): # L-stable pareto np.random.seed(2409) x = np.random.pareto(2, 10) self.assertAlmostEqual(minmax(x), 2.5, places=2)
def test_minmax_skew(self): # heavily skewed gamma np.random.seed(1306) x = np.random.gamma(15, 20, 100) self.assertAlmostEqual(minmax(x), 1.5932, places=4)