def test_tuple_in_instance_in_collection(target_gaussian, prior):
    source_gaussian = m.Gaussian(centre=(prior, 1.0))
    source = af.CollectionPriorModel(gaussian=source_gaussian)
    target = af.CollectionPriorModel(gaussian=target_gaussian)
    target.take_attributes(source)
    assert (target.gaussian.centre == (prior, 1.0))
def test_tuple_in_instance_in_collection(target_gaussian, prior):
    source_gaussian = m.Gaussian(centre=(prior, 1.0))
    source = af.CollectionPriorModel(gaussian=source_gaussian)
    target = af.CollectionPriorModel(gaussian=target_gaussian)
    target.take_attributes(source)
    assert (target.gaussian.centre == (prior, 1.0))