X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fcolour_conversion_test.cc;h=7de169dd3e305ad23d76dbaf12b756ef80ccaebb;hb=5f2a57d1c21c3e8067dfd1f68505b1bf96e1d7c7;hp=0cf3a616b20992373e6a9ca777331b0aa1149723;hpb=7f2e74604a51b984e4c8cbb5d5f4bb642677ec00;p=dcpomatic.git diff --git a/test/colour_conversion_test.cc b/test/colour_conversion_test.cc index 0cf3a616b..7de169dd3 100644 --- a/test/colour_conversion_test.cc +++ b/test/colour_conversion_test.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2013 Carl Hetherington + Copyright (C) 2013-2014 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,18 +17,21 @@ */ +/** @file test/colour_conversion_test.cc + * @brief Basic test of identifier() for ColourConversion (i.e. a hash of the numbers) + */ + #include #include #include "lib/colour_conversion.h" using std::cout; -/* Basic test of identifier() for ColourConversion (i.e. a hash of the numbers) */ BOOST_AUTO_TEST_CASE (colour_conversion_test) { ColourConversion A (2.4, true, dcp::colour_matrix::srgb_to_xyz, 2.6); ColourConversion B (2.4, false, dcp::colour_matrix::srgb_to_xyz, 2.6); - BOOST_CHECK_EQUAL (A.identifier(), "246ff9b7dc32c0488948a32a713924b3"); - BOOST_CHECK_EQUAL (B.identifier(), "a8d1da30f96a121d8db06a03409758b3"); + BOOST_CHECK_EQUAL (A.identifier(), "1e720d2d99add654d7816f3b72da815e"); + BOOST_CHECK_EQUAL (B.identifier(), "18751a247b22682b725bf9c4caf71522"); }