+
+
+BOOST_AUTO_TEST_CASE(assertion_failure_when_scaling)
+{
+ auto content = content_factory("test/data/flat_red.png");
+ auto film = new_test_film2("assertion_failure_when_scaling", content);
+
+ content[0]->video->set_custom_size(dcp::Size{3996, 2180});
+ film->set_resolution(Resolution::FOUR_K);
+
+ make_and_verify_dcp (
+ film,
+ {
+ dcp::VerificationNote::Code::MISSING_FFMC_IN_FEATURE,
+ dcp::VerificationNote::Code::MISSING_FFEC_IN_FEATURE
+ });
+}
+