diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-08 09:55:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-08 09:55:20 +0100 |
| commit | 3ac1487997a968278c69728bd5eaa5dcf03b66ca (patch) | |
| tree | dd487956bfe7458826ae7b23e8c8c30f8091bfac /test/colour_conversion_test.cc | |
| parent | 331b2f8297b2b8a6db07a22dbbff7f913fe7a2f1 (diff) | |
Some comments and test tweaks.
Diffstat (limited to 'test/colour_conversion_test.cc')
| -rw-r--r-- | test/colour_conversion_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/colour_conversion_test.cc b/test/colour_conversion_test.cc index 2eb5edf5..7ff93468 100644 --- a/test/colour_conversion_test.cc +++ b/test/colour_conversion_test.cc @@ -54,6 +54,7 @@ check_modified_gamma (shared_ptr<const TransferFunction> tf, int bit_depth, bool } } +/** Check that the gamma correction LUTs are right for sRGB */ BOOST_AUTO_TEST_CASE (colour_conversion_test1) { ColourConversion cc = ColourConversion::srgb_to_xyz (); @@ -67,6 +68,7 @@ BOOST_AUTO_TEST_CASE (colour_conversion_test1) check_gamma (cc.out(), 16, true, 1 / 2.6); } +/** Check that the gamma correction LUTs are right for REC709 */ BOOST_AUTO_TEST_CASE (colour_conversion_test2) { ColourConversion cc = ColourConversion::rec709_to_xyz (); |
