X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fratio_test.cc;h=5ee8af1371ae5cbc588a2e0b02c9260e9f17dfee;hb=a5bb775f62a7d0925c830b1e0404d49f998109ca;hp=c941248bf01fa485302d070c54b6a48ea7bb261a;hpb=308488324dbc4d8b709d3fb1dc9fee0479346c21;p=dcpomatic.git diff --git a/test/ratio_test.cc b/test/ratio_test.cc index c941248bf..5ee8af137 100644 --- a/test/ratio_test.cc +++ b/test/ratio_test.cc @@ -29,17 +29,6 @@ using std::ostream; -namespace dcp { - -ostream& -operator<< (ostream& s, dcp::Size const & t) -{ - s << t.width << "x" << t.height; - return s; -} - -} - BOOST_AUTO_TEST_CASE (ratio_test) { Ratio::setup_ratios (); @@ -52,10 +41,6 @@ BOOST_AUTO_TEST_CASE (ratio_test) BOOST_CHECK (r); BOOST_CHECK_EQUAL (fit_ratio_within (r->ratio(), dcp::Size (2048, 1080)), dcp::Size (1440, 1080)); - r = Ratio::from_id ("137"); - BOOST_CHECK (r); - BOOST_CHECK_EQUAL (fit_ratio_within (r->ratio(), dcp::Size (2048, 1080)), dcp::Size (1480, 1080)); - r = Ratio::from_id ("138"); BOOST_CHECK (r); BOOST_CHECK_EQUAL (fit_ratio_within (r->ratio(), dcp::Size (2048, 1080)), dcp::Size (1485, 1080));