diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-12-23 18:14:51 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-12-23 18:14:51 +0100 |
| commit | 90730ce9bf3ab9762600f844fcc1b2aeb6d2b22e (patch) | |
| tree | 4f3669812694a4257ed823988140e34c053a5a9a /test | |
| parent | d3be0385139016f72622e1e515af26b8472d59a8 (diff) | |
Fix mistake in a7f61a15 causing bad_alloc exceptions during tests.
Diffstat (limited to 'test')
| -rw-r--r-- | test/ratio_test.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/ratio_test.cc b/test/ratio_test.cc index c922301c2..a21859049 100644 --- a/test/ratio_test.cc +++ b/test/ratio_test.cc @@ -34,8 +34,6 @@ using std::ostream; BOOST_AUTO_TEST_CASE (ratio_test) { - Ratio::setup_ratios (); - Ratio const * r = Ratio::from_id ("119"); BOOST_CHECK (r); BOOST_CHECK_EQUAL (fit_ratio_within (r->ratio(), dcp::Size (2048, 1080)), dcp::Size (1290, 1080)); @@ -72,8 +70,6 @@ BOOST_AUTO_TEST_CASE (ratio_test) BOOST_AUTO_TEST_CASE (ratios_use_same_pointers_test) { - Ratio::setup_ratios (); - auto const test = Ratio::from_id ("119"); BOOST_CHECK_EQUAL (test, Ratio::from_id("119")); } |
