X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fcinema_sound_processor_test.cc;h=b53917641b4e463c53b19b312b20d1d59818b3d0;hb=5a820bb8fae34591be5ac6d19a73461b9dab532a;hp=b17fd19f9b77b95062feadf56cd6f92b23ff6056;hpb=e6c828cbd577239e7c8e4c532161084a33843a0f;p=dcpomatic.git diff --git a/test/cinema_sound_processor_test.cc b/test/cinema_sound_processor_test.cc index b17fd19f9..b53917641 100644 --- a/test/cinema_sound_processor_test.cc +++ b/test/cinema_sound_processor_test.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2019 Carl Hetherington + Copyright (C) 2019-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,11 +18,13 @@ */ + +#include "lib/datasat_ap2x.h" #include "lib/dolby_cp750.h" #include "lib/usl.h" -#include "lib/datasat_ap2x.h" #include + BOOST_AUTO_TEST_CASE (dolby_cp750_test) { DolbyCP750 ap; @@ -43,6 +45,7 @@ BOOST_AUTO_TEST_CASE (dolby_cp750_test) BOOST_CHECK_CLOSE (ap.db_for_fader_change(6, 3), -(20 + 6.66666666666666666), 0.1); } + BOOST_AUTO_TEST_CASE (usl_test) { USL ap; @@ -63,6 +66,7 @@ BOOST_AUTO_TEST_CASE (usl_test) BOOST_CHECK_CLOSE (ap.db_for_fader_change(6, 3), -(2.5 * 10 + 0.5 * 3.333333333333333333), 0.1); } + BOOST_AUTO_TEST_CASE (datasat_ap2x_test) { DatasatAP2x ap;