def test_n_dimensional_luminance_CIE1976(self):
    '\n        Tests :func:`colour.colorimetry.luminance.luminance_CIE1976`\n        definition n-dimensional arrays support.\n        '
    L_star = 41.52787584465345
    Y = luminance_CIE1976(L_star)
    L_star = np.tile(L_star, 6)
    Y = np.tile(Y, 6)
    np.testing.assert_almost_equal(luminance_CIE1976(L_star), Y, decimal=7)
    L_star = np.reshape(L_star, (2, 3))
    Y = np.reshape(Y, (2, 3))
    np.testing.assert_almost_equal(luminance_CIE1976(L_star), Y, decimal=7)
    L_star = np.reshape(L_star, (2, 3, 1))
    Y = np.reshape(Y, (2, 3, 1))
    np.testing.assert_almost_equal(luminance_CIE1976(L_star), Y, decimal=7)
Tests :func:`colour.colorimetry.luminance.luminance_CIE1976`
definition n-dimensional arrays support.
def test_n_dimensional_luminance_CIE1976(self):
    '\n        Tests :func:`colour.colorimetry.luminance.luminance_CIE1976`\n        definition n-dimensional arrays support.\n        '
    L_star = 41.52787584465345
    Y = luminance_CIE1976(L_star)
    L_star = np.tile(L_star, 6)
    Y = np.tile(Y, 6)
    np.testing.assert_almost_equal(luminance_CIE1976(L_star), Y, decimal=7)
    L_star = np.reshape(L_star, (2, 3))
    Y = np.reshape(Y, (2, 3))
    np.testing.assert_almost_equal(luminance_CIE1976(L_star), Y, decimal=7)
    L_star = np.reshape(L_star, (2, 3, 1))
    Y = np.reshape(Y, (2, 3, 1))
    np.testing.assert_almost_equal(luminance_CIE1976(L_star), Y, decimal=7)