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 |