Add a 1x1 enc/dec test.

Change-Id: I777f49a3c2c2aaa04ae23904396bd7254e1afd8c
This commit is contained in:
Alex Converse 2014-10-01 11:40:34 -07:00
parent a0befb93e7
commit 655fbd1b4a

View File

@ -84,4 +84,13 @@ TEST_F(VP9FrameSizeTestsLarge, ValidSizes) {
ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
#endif
}
TEST_F(VP9FrameSizeTestsLarge, OneByOneVideo) {
::libvpx_test::RandomVideoSource video;
video.SetSize(1, 1);
video.set_limit(2);
expected_res_ = VPX_CODEC_OK;
ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
}
} // namespace