Coverage for models/rgb/tests/test_itut_h_273.py: 100%

1"""Define the unit tests for the :mod:`colour.models.rgb.itut_h_273` module."""

2

3 from __future__ import annotations

4

5 from colour.models import (

6 describe_video_signal_colour_primaries,

7 describe_video_signal_matrix_coefficients,

8 describe_video_signal_transfer_characteristics,

9)

10

11 __author__ = "Colour Developers"

12 __copyright__ = "Copyright 2013 Colour Developers"

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

14 __maintainer__ = "Colour Developers"

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

16 __status__ = "Production"

17

18 __all__ = [

19 "TestDescribeVideoSignalColourPrimaries",

20 "TestDescribeVideoSignalTransferCharacteristics",

21 "TestDescribeVideoSignalMatrixCoefficients",

22]

23

24

25 class TestDescribeVideoSignalColourPrimaries:

26 """

27 Define :func:`colour.models.rgb.itut_h_273.\

28 describe_video_signal_colour_primaries` definition unit tests methods.

29 """

30

31 def test_describe_video_signal_colour_primaries(self) -> None:

32 """

33 Test

34 :func:`colour.models.rgb.itut_h_273.\

35 describe_video_signal_colour_primaries` definition.

36 """

37

38 description = describe_video_signal_colour_primaries(1)

39 assert isinstance(description, str)

40

41

42 class TestDescribeVideoSignalTransferCharacteristics:

43 """

44 Define :func:`colour.models.rgb.itut_h_273.\

45 describe_video_signal_transfer_characteristics` definition unit tests methods.

46 """

47

48 def test_describe_video_signal_transfer_characteristics(self) -> None:

49 """

50 Test :func:`colour.models.rgb.itut_h_273.\

51 describe_video_signal_transfer_characteristics` definition.

52 """

53

54 description = describe_video_signal_transfer_characteristics(1)

55 assert isinstance(description, str)

56

57

58 class TestDescribeVideoSignalMatrixCoefficients:

59 """

60 Define :func:`colour.models.rgb.itut_h_273.\

61 describe_video_signal_matrix_coefficients` definition unit tests methods.

62 """

63

64 def test_describe_video_signal_matrix_coefficients(self) -> None:

65 """

66 Test :func:`colour.models.rgb.itut_h_273.\

67 describe_video_signal_matrix_coefficients` definition.

68 """

69

70 description = describe_video_signal_matrix_coefficients(1)

71 assert isinstance(description, str)