summaryrefslogtreecommitdiff
path: root/test/cinema_sound_processor_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-05-03 11:17:34 +0200
committerCarl Hetherington <cth@carlh.net>2021-05-03 20:18:04 +0200
commit689fa55d1529ad88449ca464e9107c4dcc54d1cb (patch)
treeedd1264941263f2fa25a98d61f98c87876c5b667 /test/cinema_sound_processor_test.cc
parent0aabe4060ea4bad7c7caac633aef0737fccff8c2 (diff)
C++11 tidying.
Diffstat (limited to 'test/cinema_sound_processor_test.cc')
-rw-r--r--test/cinema_sound_processor_test.cc8
1 files changed, 6 insertions, 2 deletions
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 <cth@carlh.net>
+ Copyright (C) 2019-2021 Carl Hetherington <cth@carlh.net>
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/test/unit_test.hpp>
+
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;