def METHOD_NAME(profile_data):
    xycen, data, error, _ = profile_data
    msg = 'radii must be > 0'
    with pytest.raises(ValueError, match=msg):
        radii = np.arange(10)
        CurveOfGrowth(data, xycen, radii, error=None, mask=None)
    msg = 'radii must be a 1D array and have at least two values'
    with pytest.raises(ValueError, match=msg):
        CurveOfGrowth(data, xycen, [1], error=None, mask=None)
    with pytest.raises(ValueError, match=msg):
        CurveOfGrowth(data, xycen, np.arange(1, 7).reshape(2, 3), error=None,
                      mask=None)
    msg = 'radii must be strictly increasing'
    with pytest.raises(ValueError, match=msg):
        radii = np.arange(1, 10)[::-1]
        CurveOfGrowth(data, xycen, radii, error=None, mask=None)
    with pytest.raises(ValueError):
        unit1 = u.Jy
        unit2 = u.km
        radii = np.arange(1, 36)
        CurveOfGrowth(data << unit1, xycen, radii, error=error << unit2)