def test_limits(source_gaussian, target_gaussian):
    source_gaussian.centre = af.GaussianPrior(mean=0, sigma=1, lower_limit=(- 1), upper_limit=1)
    target_gaussian.take_attributes(source_gaussian)
    assert (target_gaussian.centre.lower_limit == (- 1))
    assert (target_gaussian.centre.upper_limit == 1)
def test_limits(source_gaussian, target_gaussian):
    source_gaussian.centre = af.GaussianPrior(mean=0, sigma=1, lower_limit=(- 1), upper_limit=1)
    target_gaussian.take_attributes(source_gaussian)
    assert (target_gaussian.centre.lower_limit == (- 1))
    assert (target_gaussian.centre.upper_limit == 1)