From: Angie Chiang Date: Thu, 15 Aug 2019 23:00:18 +0000 (-0700) Subject: Add test_non_greedy_mv.cc X-Git-Tag: v1.8.2~143 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c1f5208e95efd564986ab33ded28c04fbfc08a3;p=libvpx Add test_non_greedy_mv.cc Change-Id: I7862d39ae52ab016bf6c3ba3aa4b8b1d9760cf27 --- diff --git a/test/non_greedy_mv_test.cc b/test/non_greedy_mv_test.cc new file mode 100644 index 000000000..21d93e74c --- /dev/null +++ b/test/non_greedy_mv_test.cc @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2019 The WebM project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + */ + +#include "third_party/googletest/src/include/gtest/gtest.h" +// #include "vp9/encoder/vp9_non_greedy_mv.h" + +namespace { +TEST(non_greedy_mv, non_greedy_mv) { printf("Let's test non_greedy_mv"); } +} // namespace diff --git a/test/test.mk b/test/test.mk index 8ab4932ce..88bd2a3b6 100644 --- a/test/test.mk +++ b/test/test.mk @@ -183,6 +183,10 @@ LIBVPX_TEST_SRCS-$(CONFIG_INTERNAL_STATS) += blockiness_test.cc LIBVPX_TEST_SRCS-$(CONFIG_INTERNAL_STATS) += consistency_test.cc endif +ifeq ($(CONFIG_VP9_ENCODER),yes) +LIBVPX_TEST_SRCS-$(CONFIG_NON_GREEDY_MV) += non_greedy_mv_test.cc +endif + ifeq ($(CONFIG_VP9_ENCODER)$(CONFIG_VP9_TEMPORAL_DENOISING),yesyes) LIBVPX_TEST_SRCS-yes += vp9_denoiser_test.cc endif