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

Method setup_class

numpy/random/tests/test_smoke.py:767–774  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

765class TestPCG64(RNG):
766 @classmethod
767 def setup_class(cls):
768 cls.bit_generator = PCG64
769 cls.advance = 2**63 + 2**31 + 2**15 + 1
770 cls.seed = [12345]
771 cls.rg = Generator(cls.bit_generator(*cls.seed))
772 cls.initial_state = cls.rg.bit_generator.state
773 cls.seed_vector_bits = 64
774 cls._extra_setup()
775
776
777class TestPCG64DXSM(RNG):

Callers

nothing calls this directly

Calls 1

_extra_setupMethod · 0.80

Tested by

no test coverage detected