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