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