def test_set_get_seed(seed): rng = randomness.Random() rng.seed(seed) assert rng.get_seed() == seed
def test_get_seed(): rng = randomness.Random() assert rng.get_seed() != 0
def test_set_get_seed(seed): rng = randomness.Random() rng.seed(seed) assert rng.get_seed() == seed
def test_get_seed(): rng = randomness.Random() assert rng.get_seed() != 0