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

Method setup_class

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

Source from the content-addressed store, hash-verified

741class TestPhilox(RNG):
742 @classmethod
743 def setup_class(cls):
744 cls.bit_generator = Philox
745 cls.advance = 2**63 + 2**31 + 2**15 + 1
746 cls.seed = [12345]
747 cls.rg = Generator(cls.bit_generator(*cls.seed))
748 cls.initial_state = cls.rg.bit_generator.state
749 cls.seed_vector_bits = 64
750 cls._extra_setup()
751
752
753class TestSFC64(RNG):

Callers

nothing calls this directly

Calls 1

_extra_setupMethod · 0.80

Tested by

no test coverage detected