From 655fbd1b4ac8617b836dddb597e54c0f83c27400 Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Wed, 1 Oct 2014 11:40:34 -0700 Subject: [PATCH] Add a 1x1 enc/dec test. Change-Id: I777f49a3c2c2aaa04ae23904396bd7254e1afd8c --- test/frame_size_tests.cc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/frame_size_tests.cc b/test/frame_size_tests.cc index 1c9a52297..95cc66adc 100644 --- a/test/frame_size_tests.cc +++ b/test/frame_size_tests.cc @@ -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