test/testsupport/metrics/video_metrics_unittest.cc
TEST_F(VideoMetricsTest, MissingReferenceFilePSNR) {
  EXPECT_EQ(kMissingReferenceFileReturnCode,
            I420PSNRFromFiles(non_existing_file_.c_str(),
                              video_file_.c_str(), kWidth, kHeight,
                              &ssim_result_));
}
// Tests that the right return code is given when the reference file is missing.
Tests that the right return code is given when the reference file is missing.
Tests that the right return code is given when the reference file is missing .
TEST_F(VideoMetricsTest, MissingReferenceFilePSNR) {
  EXPECT_EQ(kMissingReferenceFileReturnCode,
            I420PSNRFromFiles(non_existing_file_.c_str(),
                              video_file_.c_str(), kWidth, kHeight,
                              &ssim_result_));
}
TEST_F ( VideoMetricsTest , MissingReferenceFilePSNR ) { EXPECT_EQ ( kMissingReferenceFileReturnCode , I420PSNRFromFiles ( non_existing_file_ . c_str ( ) , video_file_ . c_str ( ) , kWidth , kHeight , & ssim_result_ ) ) ; }
Tests that the right return code is given when the reference file is missing.
Tests that the right return code is given when the reference file is missing .