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

Method test_entropy_init

numpy/random/tests/test_smoke.py:225–229  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

223 assert_(int_1 == int_2)
224
225 def test_entropy_init(self):
226 rg = Generator(self.bit_generator())
227 rg2 = Generator(self.bit_generator())
228 assert_(not comp_state(rg.bit_generator.state,
229 rg2.bit_generator.state))
230
231 def test_seed(self):
232 rg = Generator(self.bit_generator(*self.seed))

Callers

nothing calls this directly

Calls 2

assert_Function · 0.90
comp_stateFunction · 0.85

Tested by

no test coverage detected