projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
C++11 tidying.
[dcpomatic.git]
/
test
/
cinema_sound_processor_test.cc
diff --git
a/test/cinema_sound_processor_test.cc
b/test/cinema_sound_processor_test.cc
index b17fd19f9b77b95062feadf56cd6f92b23ff6056..b53917641b4e463c53b19b312b20d1d59818b3d0 100644
(file)
--- a/
test/cinema_sound_processor_test.cc
+++ b/
test/cinema_sound_processor_test.cc
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2019 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2019
-2021
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
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/dolby_cp750.h"
#include "lib/usl.h"
-#include "lib/datasat_ap2x.h"
#include <boost/test/unit_test.hpp>
#include <boost/test/unit_test.hpp>
+
BOOST_AUTO_TEST_CASE (dolby_cp750_test)
{
DolbyCP750 ap;
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_CHECK_CLOSE (ap.db_for_fader_change(6, 3), -(20 + 6.66666666666666666), 0.1);
}
+
BOOST_AUTO_TEST_CASE (usl_test)
{
USL ap;
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_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;
BOOST_AUTO_TEST_CASE (datasat_ap2x_test)
{
DatasatAP2x ap;