def METHOD_NAME(self):
    """
    Test colour component transfer functions from the
    :attr:`colour.models.rgb.datasets.RGB_COLOURSPACES` attribute
    colourspace models.
    """
    ignored_colourspaces = ("ACESproxy",)
    decimals = {"DJI D-Gamut": 1, "F-Gamut": 4, "N-Gamut": 3}
    samples = np.hstack(
        [np.linspace(0, 1, int(1e5)), np.linspace(0, 65504, 65504 * 10)]
    )
    for colourspace in RGB_COLOURSPACES.values():
        if colourspace.name in ignored_colourspaces:
            continue
        cctf_encoding_s = colourspace.cctf_encoding(samples)
        cctf_decoding_s = colourspace.cctf_decoding(cctf_encoding_s)
        np.testing.assert_array_almost_equal(
            samples,
            cctf_decoding_s,
            decimal=decimals.get(colourspace.name, 7),
        )