def test_in_collection(source_gaussian, target_gaussian, prior):
    target = af.CollectionPriorModel(gaussian=target_gaussian)
    source = af.CollectionPriorModel(gaussian=source_gaussian)
    target.take_attributes(source)
    assert (target.gaussian.centre == prior)
def test_in_collection(source_gaussian, target_gaussian, prior):
    target = af.CollectionPriorModel(gaussian=target_gaussian)
    source = af.CollectionPriorModel(gaussian=source_gaussian)
    target.take_attributes(source)
    assert (target.gaussian.centre == prior)