From 94245f8ccec610d9d7f9a1a7dae0e4d53f917ee8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 30 Jun 2015 09:25:28 +0100 Subject: [PATCH] Fix tests to match reality. --- test/colour_conversion_test.cc | 6 +++--- 1 file 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); -- 2.30.2