MCPcopy
hub / github.com/numpy/numpy / test_negative_binomial

Method test_negative_binomial

numpy/random/tests/test_randomstate.py:241–245  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

239 assert_(np.all(x1 == x3))
240
241 def test_negative_binomial(self):
242 # Ensure that the negative binomial results take floating point
243 # arguments without truncation.
244 random_state, _ = self._create_state()
245 random_state.negative_binomial(0.5, 0.5)
246
247 def test_get_state_warning(self):
248 rs = random.RandomState(PCG64())

Callers

nothing calls this directly

Calls 1

_create_stateMethod · 0.95

Tested by

no test coverage detected