def test_lcg():
    """Test that LCG generator works."""

    lcg = LCGRand(346)

    assert lcg.rand() == 5815222

    assert lcg.rand() == 1099672039
def test_lcg():

    lcg = LCGRand(346)
    assert lcg.rand() == 5815222
    assert lcg.rand() == 1099672039