summaryrefslogtreecommitdiff
path: root/test/gamma_transfer_function_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-05 16:55:32 +0000
committerCarl Hetherington <cth@carlh.net>2016-01-05 16:55:32 +0000
commitca5f02dbf193fa5655c57cb25be96a3c9fd05157 (patch)
treed5be6180bca64a0f4f8af9aaef2030080787fc24 /test/gamma_transfer_function_test.cc
parente3b5521ac40125c3dfd9f254856cf58ea1584f79 (diff)
Put everything into dcp::dc and change DCP -> Package.
Diffstat (limited to 'test/gamma_transfer_function_test.cc')
-rw-r--r--test/gamma_transfer_function_test.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/gamma_transfer_function_test.cc b/test/gamma_transfer_function_test.cc
index 9e0ea089..383b00f5 100644
--- a/test/gamma_transfer_function_test.cc
+++ b/test/gamma_transfer_function_test.cc
@@ -26,15 +26,15 @@ using boost::shared_ptr;
/** Check GammaTransferFunction::about_equal */
BOOST_AUTO_TEST_CASE (gamma_transfer_function_test)
{
- shared_ptr<dcp::GammaTransferFunction> a (new dcp::GammaTransferFunction (1.2));
- shared_ptr<dcp::GammaTransferFunction> b (new dcp::GammaTransferFunction (1.2));
+ shared_ptr<dcp::dc::GammaTransferFunction> a (new dcp::dc::GammaTransferFunction (1.2));
+ shared_ptr<dcp::dc::GammaTransferFunction> b (new dcp::dc::GammaTransferFunction (1.2));
BOOST_CHECK (a->about_equal (b, 1e-6));
- a.reset (new dcp::GammaTransferFunction (1.2));
- a.reset (new dcp::GammaTransferFunction (1.3));
+ a.reset (new dcp::dc::GammaTransferFunction (1.2));
+ a.reset (new dcp::dc::GammaTransferFunction (1.3));
BOOST_CHECK (a->about_equal (b, 0.2));
BOOST_CHECK (!a->about_equal (b, 0.05));
- shared_ptr<dcp::ModifiedGammaTransferFunction> c (new dcp::ModifiedGammaTransferFunction (2.4, 0.05, 1, 2));
+ shared_ptr<dcp::dc::ModifiedGammaTransferFunction> c (new dcp::dc::ModifiedGammaTransferFunction (2.4, 0.05, 1, 2));
BOOST_CHECK (!a->about_equal (c, 1));
}