diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-05 16:55:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-05 16:55:32 +0000 |
| commit | ca5f02dbf193fa5655c57cb25be96a3c9fd05157 (patch) | |
| tree | d5be6180bca64a0f4f8af9aaef2030080787fc24 /test/fraction_test.cc | |
| parent | e3b5521ac40125c3dfd9f254856cf58ea1584f79 (diff) | |
Put everything into dcp::dc and change DCP -> Package.
Diffstat (limited to 'test/fraction_test.cc')
| -rw-r--r-- | test/fraction_test.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/fraction_test.cc b/test/fraction_test.cc index efdba664..71819995 100644 --- a/test/fraction_test.cc +++ b/test/fraction_test.cc @@ -24,15 +24,15 @@ /** Test dcp::Fraction */ BOOST_AUTO_TEST_CASE (fraction_test) { - dcp::Fraction f (42, 26); - dcp::Fraction g (42, 26); - dcp::Fraction h (43, 26); - dcp::Fraction i (42, 27); + dcp::dc::Fraction f (42, 26); + dcp::dc::Fraction g (42, 26); + dcp::dc::Fraction h (43, 26); + dcp::dc::Fraction i (42, 27); BOOST_CHECK (f == g); BOOST_CHECK (g != h); BOOST_CHECK (g != i); - BOOST_CHECK_THROW (dcp::Fraction ("1 2 3"), dcp::XMLError); + BOOST_CHECK_THROW (dcp::dc::Fraction ("1 2 3"), dcp::dc::XMLError); } |
