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

Unified Diff: webrtc/modules/audio_processing/test/bitexactness_tools.h

Issue 1804373002: Added a bitexactness test for the voice activity detector in the audio processing module. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@LevelEstimatorBitExactness_CL
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_processing/test/bitexactness_tools.h
diff --git a/webrtc/modules/audio_processing/test/bitexactness_tools.h b/webrtc/modules/audio_processing/test/bitexactness_tools.h
index 69f215577399982d4a25d3c9de51e5b03e76517f..33faf02ea3c324bad89f64bbaa009d1ae357e4ca 100644
--- a/webrtc/modules/audio_processing/test/bitexactness_tools.h
+++ b/webrtc/modules/audio_processing/test/bitexactness_tools.h
@@ -19,6 +19,13 @@
namespace webrtc {
namespace test {
+// Gtest PRED_FORMAT test function that compares two boolean values
+// and reports any differences.
+::testing::AssertionResult AssertBoolsNotEqual(const char* m_expr,
+ const char* n_expr,
+ const bool& output,
+ const bool& reference);
+
// Gtest PRED_FORMAT test function that compares two integers
// and reports any differences.
::testing::AssertionResult AssertIntegersNotEqual(const char* m_expr,

Powered by Google App Engine
This is Rietveld 408576698