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

Unified Diff: webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc

Issue 1841213002: Renamed the test::BitExactFrame method to test::VectorDifferenceBounded. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Changed name of the StackedFrameDifferenceBounded and VectorDifferenceBounded methods 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/high_pass_filter_bitexactness_unittest.cc
diff --git a/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc b/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc
index ba53bfac05eb8d482a5ed5e652e2d8ab5291648c..00336628df99da803c90aa05b98760eb4d9ee607 100644
--- a/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc
+++ b/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc
@@ -82,9 +82,10 @@ void RunBitexactnessTest(int sample_rate,
reference_frame_length);
}
- const float kTolerance = 1.0f / 32768.0f;
- EXPECT_TRUE(test::BitExactFrame(reference_frame_length, num_channels,
- reference, output_to_verify, kTolerance));
+ const float kElementErrorBound = 1.0f / 32768.0f;
+ EXPECT_TRUE(test::VerifyDeinterleavedArray(
+ reference_frame_length, num_channels, reference, output_to_verify,
+ kElementErrorBound));
}
// Method for forming a vector out of an array.

Powered by Google App Engine
This is Rietveld 408576698