Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: webrtc/modules/audio_processing/test/bitexactness_tools.h

Issue 1783203002: Bitexactness test for the noise suppressor (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Corrected comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_TEST_BITEXACTNESS_TOOLS_H_
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_TEST_BITEXACTNESS_TOOLS_H_
13
14 #include <vector>
15
16 #include "webrtc/base/array_view.h"
17 #include "testing/gtest/include/gtest/gtest.h"
18
19 namespace webrtc {
20 namespace test {
21
22 // Gtest PRED_FORMAT test function that compares two floats
23 // and reports any differences.
24 ::testing::AssertionResult AssertFloatsNotEqual(const char* m_expr,
25 const char* n_expr,
26 const float& output,
27 const float& reference);
28
29 // Gtest EXPECT_PRED_FORMAT test function that compares two array views
30 // and reports any differences.
31 ::testing::AssertionResult AssertVectorsNotEqual(
32 const char* m_expr,
33 const char* n_expr,
34 const rtc::ArrayView<const float>& output,
35 const rtc::ArrayView<const float>& reference);
36
37 } // namespace test
38 } // namespace webrtc
39
40 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_TEST_BITEXACTNESS_TOOLS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698