def test_jitter(): with pytest.raises(ValueError): helpers.jitter([1, 2, 3], 1, distribution="nonexistant")
def test_jitter(): helpers.jitter([1, 2, 3], 1, distribution="gaussian") helpers.jitter([1, 2, 3], 1, distribution="uniform")