Coverage for plotting/tests/test_corresponding.py: 100%

1"""Define the unit tests for the :mod:`colour.plotting.corresponding` module."""

2

3 from __future__ import annotations

4

5 from matplotlib.axes import Axes

6 from matplotlib.figure import Figure

7

8 from colour.plotting import plot_corresponding_chromaticities_prediction

9

10 __author__ = "Colour Developers"

11 __copyright__ = "Copyright 2013 Colour Developers"

12 __license__ = "BSD-3-Clause - https://opensource.org/licenses/BSD-3-Clause"

13 __maintainer__ = "Colour Developers"

14 __email__ = "colour-developers@colour-science.org"

15 __status__ = "Production"

16

17 __all__ = [

18 "TestPlotCorrespondingChromaticitiesPrediction",

19]

20

21

22 class TestPlotCorrespondingChromaticitiesPrediction:

23 """

24 Define :func:`colour.plotting.corresponding.\

25 plot_corresponding_chromaticities_prediction` definition unit tests methods.

26 """

27

28 def test_plot_corresponding_chromaticities_prediction(self) -> None:

29 """

30 Test :func:`colour.plotting.corresponding.\

31 plot_corresponding_chromaticities_prediction` definition.

32 """

33

34 figure, axes = plot_corresponding_chromaticities_prediction()

35

36 assert isinstance(figure, Figure)

37 assert isinstance(axes, Axes)