def test_domain_range_scale_luminance_ASTMD1535(self):
    '\n        Tests :func:`colour.colorimetry.luminance.luminance_ASTMD1535`\n        definition domain and range scale support.\n        '
    Y = luminance_ASTMD1535(4.08244375)
    d_r = (('reference', 1, 1), (1, 0.1, 0.01), (100, 10, 1))
    for (scale, factor_a, factor_b) in d_r:
        with domain_range_scale(scale):
            np.testing.assert_almost_equal(luminance_ASTMD1535((4.08244375 * factor_a)), (Y * factor_b), decimal=7)
Tests :func:`colour.colorimetry.luminance.luminance_ASTMD1535`
definition domain and range scale support.
def test_domain_range_scale_luminance_ASTMD1535(self):
    '\n        Tests :func:`colour.colorimetry.luminance.luminance_ASTMD1535`\n        definition domain and range scale support.\n        '
    Y = luminance_ASTMD1535(4.08244375)
    d_r = (('reference', 1, 1), (1, 0.1, 0.01), (100, 10, 1))
    for (scale, factor_a, factor_b) in d_r:
        with domain_range_scale(scale):
            np.testing.assert_almost_equal(luminance_ASTMD1535((4.08244375 * factor_a)), (Y * factor_b), decimal=7)