(cls)
| 789 | class TestDefaultRNG(RNG): |
| 790 | @classmethod |
| 791 | def setup_class(cls): |
| 792 | # This will duplicate some tests that directly instantiate a fresh |
| 793 | # Generator(), but that's okay. |
| 794 | cls.bit_generator = PCG64 |
| 795 | cls.advance = 2**63 + 2**31 + 2**15 + 1 |
| 796 | cls.seed = [12345] |
| 797 | cls.rg = np.random.default_rng(*cls.seed) |
| 798 | cls.initial_state = cls.rg.bit_generator.state |
| 799 | cls.seed_vector_bits = 64 |
| 800 | cls._extra_setup() |
| 801 | |
| 802 | def test_default_is_pcg64(self): |
| 803 | # In order to change the default BitGenerator, we'll go through |
nothing calls this directly
no test coverage detected