]> granicus.if.org Git - libvpx/blobdiff - test/frame_size_tests.cc
Merge "endian_inl.h: fix mips32 android build"
[libvpx] / test / frame_size_tests.cc
index 1c9a5229735f1affc9a6707a5944cd560ff4cf66..95cc66adc1d9971a6418526baa54f4878d43635b 100644 (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