projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5769392
)
Fix tests to match reality.
author
Carl Hetherington
<cth@carlh.net>
Tue, 30 Jun 2015 08:25:28 +0000
(09:25 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 30 Jun 2015 08:25:28 +0000
(09:25 +0100)
test/colour_conversion_test.cc
patch
|
blob
|
history
diff --git
a/test/colour_conversion_test.cc
b/test/colour_conversion_test.cc
index b743497bfc27bcd9f7bc3b5666464322b6e71236..b963217d5081b876788197bc5b98b3830acbcfcf 100644
(file)
--- 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);