MCPcopy Create free account
hub / github.com/numpy/numpy / test_noncentral_f_small_df

Method test_noncentral_f_small_df

numpy/random/tests/test_random.py:1225–1229  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1223 assert_raises(ValueError, nonc_f, dfnum, dfden, bad_nonc * 3)
1224
1225 def test_noncentral_f_small_df(self):
1226 self.setSeed()
1227 desired = np.array([6.869638627492048, 0.785880199263955])
1228 actual = np.random.noncentral_f(0.9, 0.9, 2, size=2)
1229 assert_array_almost_equal(actual, desired, decimal=14)
1230
1231 def test_chisquare(self):
1232 df = [1]

Callers

nothing calls this directly

Calls 2

setSeedMethod · 0.95

Tested by

no test coverage detected