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

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: 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/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..d4c09d49c695affda5e140d7e9a02640be37e58f 100644
--- a/webrtc/modules/audio_processing/test/bitexactness_tools.h
+++ b/webrtc/modules/audio_processing/test/bitexactness_tools.h
@@ -37,17 +37,18 @@ 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 VerifyDeinterleavedArray(
+ 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 VerifyArray(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