We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d9b79d commit 1a49fffCopy full SHA for 1a49fff
colour/quality/tests/test_cfi2017.py
@@ -19,6 +19,7 @@
19
reshape_sd,
20
sd_blackbody,
21
)
22
+from colour.colorimetry.spectrum import SPECTRAL_SHAPE_DEFAULT
23
from colour.quality.cfi2017 import (
24
CCT_reference_illuminant,
25
colour_fidelity_index_CIE2017,
@@ -924,6 +925,14 @@ class TestSdReferenceIlluminant:
924
925
definition unit tests methods.
926
"""
927
928
+ def test_default_args(self) -> None:
929
+ """Test :func:`color.quality.CIE2017.sd_reference_illuminant` for
930
+ default shape argument.
931
+ """
932
+
933
+ sd = sd_reference_illuminant(5421)
934
+ assert sd.shape == SPECTRAL_SHAPE_DEFAULT
935
936
def test_sd_reference_illuminant(self) -> None:
937
938
Test :func:`colour.quality.CIE2017.sd_reference_illuminant`
0 commit comments