]> granicus.if.org Git - libvpx/commitdiff
Add test_non_greedy_mv.cc
authorAngie Chiang <angiebird@google.com>
Thu, 15 Aug 2019 23:00:18 +0000 (16:00 -0700)
committerAngie Chiang <angiebird@google.com>
Thu, 15 Aug 2019 23:01:10 +0000 (16:01 -0700)
Change-Id: I7862d39ae52ab016bf6c3ba3aa4b8b1d9760cf27

test/non_greedy_mv_test.cc [new file with mode: 0644]
test/test.mk

diff --git a/test/non_greedy_mv_test.cc b/test/non_greedy_mv_test.cc
new file mode 100644 (file)
index 0000000..21d93e7
--- /dev/null
@@ -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
index 8ab4932ce4ed8d6a2d69df6e96cf1a2c4af3c2d5..88bd2a3b6811df6c5550fc8c33213cb0148b8960 100644 (file)
@@ -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