def test_n_dimensional_intermediate_luminance_function_CIE1976(self):
    '\n        Tests :func:`colour.colorimetry.luminance.intermediate_luminance_function_CIE1976` definition n-dimensional arrays\nsupport.\n        '
    f_Y_Y_n = 0.495929964178047
    Y = intermediate_luminance_function_CIE1976(f_Y_Y_n)
    f_Y_Y_n = np.tile(f_Y_Y_n, 6)
    Y = np.tile(Y, 6)
    np.testing.assert_almost_equal(intermediate_luminance_function_CIE1976(f_Y_Y_n), Y, decimal=7)
    f_Y_Y_n = np.reshape(f_Y_Y_n, (2, 3))
    Y = np.reshape(Y, (2, 3))
    np.testing.assert_almost_equal(intermediate_luminance_function_CIE1976(f_Y_Y_n), Y, decimal=7)
    f_Y_Y_n = np.reshape(f_Y_Y_n, (2, 3, 1))
    Y = np.reshape(Y, (2, 3, 1))
    np.testing.assert_almost_equal(intermediate_luminance_function_CIE1976(f_Y_Y_n), Y, decimal=7)
Tests :func:`colour.colorimetry.luminance.intermediate_luminance_function_CIE1976` definition n-dimensional arrays
support.
def test_n_dimensional_intermediate_luminance_function_CIE1976(self):
    '\n        Tests :func:`colour.colorimetry.luminance.intermediate_luminance_function_CIE1976` definition n-dimensional arrays\nsupport.\n        '
    f_Y_Y_n = 0.495929964178047
    Y = intermediate_luminance_function_CIE1976(f_Y_Y_n)
    f_Y_Y_n = np.tile(f_Y_Y_n, 6)
    Y = np.tile(Y, 6)
    np.testing.assert_almost_equal(intermediate_luminance_function_CIE1976(f_Y_Y_n), Y, decimal=7)
    f_Y_Y_n = np.reshape(f_Y_Y_n, (2, 3))
    Y = np.reshape(Y, (2, 3))
    np.testing.assert_almost_equal(intermediate_luminance_function_CIE1976(f_Y_Y_n), Y, decimal=7)
    f_Y_Y_n = np.reshape(f_Y_Y_n, (2, 3, 1))
    Y = np.reshape(Y, (2, 3, 1))
    np.testing.assert_almost_equal(intermediate_luminance_function_CIE1976(f_Y_Y_n), Y, decimal=7)