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

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

Issue 1841213002: Renamed the test::BitExactFrame method to test::VectorDifferenceBounded. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
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 e9650ff3a77cdf6f91ef9fc5b2e6941ced916290..2c67795f6522828941fe670d3a7d119ab8765a99 100644
--- a/webrtc/modules/audio_processing/test/bitexactness_tools.h
+++ b/webrtc/modules/audio_processing/test/bitexactness_tools.h
@@ -37,17 +37,19 @@ void ReadFloatSamplesFromStereoFile(size_t samples_per_channel,
// Verifies a frame against a reference and returns the results as an
// AssertionResult.
-::testing::AssertionResult BitExactFrame(size_t samples_per_channel,
- size_t num_channels,
- rtc::ArrayView<const float> reference,
- rtc::ArrayView<const float> output,
- float tolerance);
+::testing::AssertionResult VectorDifferenceBounded(
hlundin-webrtc 2016/03/29 21:31:59 The two methods now share the same name. However,
peah-webrtc 2016/03/30 04:14:44 Good point! I changed the name of one of them to b
+ size_t samples_per_channel,
+ size_t num_channels,
+ rtc::ArrayView<const float> reference,
+ rtc::ArrayView<const float> output,
+ float element_error_bound);
// Verifies a vector against a reference and returns the results as an
// AssertionResult.
-::testing::AssertionResult BitExactVector(rtc::ArrayView<const float> reference,
- rtc::ArrayView<const float> output,
- float tolerance);
+::testing::AssertionResult VectorDifferenceBounded(
+ rtc::ArrayView<const float> reference,
+ rtc::ArrayView<const float> output,
+ float element_error_bound);
} // namespace test
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698