diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-30 09:25:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-30 09:25:28 +0100 |
| commit | 94245f8ccec610d9d7f9a1a7dae0e4d53f917ee8 (patch) | |
| tree | a814a7cd007607966ac5026b33388e06bcacd9af /test | |
| parent | 5769392a51631355fff96854911700b85d98eae5 (diff) | |
Fix tests to match reality.
Diffstat (limited to 'test')
| -rw-r--r-- | test/colour_conversion_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/colour_conversion_test.cc b/test/colour_conversion_test.cc index b743497b..b963217d 100644 --- a/test/colour_conversion_test.cc +++ b/test/colour_conversion_test.cc @@ -73,9 +73,9 @@ BOOST_AUTO_TEST_CASE (colour_conversion_test2) { ColourConversion cc = ColourConversion::rec709_to_xyz (); - check_modified_gamma (cc.in(), 8, false, 1 / 0.45, 0.081, 0.099, 4.5); - check_modified_gamma (cc.in(), 12, false, 1 / 0.45, 0.081, 0.099, 4.5); - check_modified_gamma (cc.in(), 16, false, 1 / 0.45, 0.081, 0.099, 4.5); + check_gamma (cc.in(), 8, false, 2.2); + check_gamma (cc.in(), 12, false, 2.2); + check_gamma (cc.in(), 16, false, 2.2); check_gamma (cc.out(), 8, true, 1 / 2.6); check_gamma (cc.out(), 12, true, 1 / 2.6); |
