Index: webrtc/modules/audio_processing/vad/pitch_internal_unittest.cc |
diff --git a/webrtc/modules/audio_processing/agc/pitch_internal_unittest.cc b/webrtc/modules/audio_processing/vad/pitch_internal_unittest.cc |
similarity index 82% |
rename from webrtc/modules/audio_processing/agc/pitch_internal_unittest.cc |
rename to webrtc/modules/audio_processing/vad/pitch_internal_unittest.cc |
index 8998f9014b3a1b987bfa6cf5d9aa66fdb7ae6c72..8b5959d03e7efe19cd82fe2f01b28809e8e46f85 100644 |
--- a/webrtc/modules/audio_processing/agc/pitch_internal_unittest.cc |
+++ b/webrtc/modules/audio_processing/vad/pitch_internal_unittest.cc |
@@ -8,11 +8,11 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
-#include "webrtc/modules/audio_processing/agc/pitch_internal.h" |
+#include "webrtc/modules/audio_processing/vad/pitch_internal.h" |
#include <math.h> |
-#include "gtest/gtest.h" |
+#include "testing/gtest/include/gtest/gtest.h" |
TEST(PitchInternalTest, test) { |
const int kSamplingRateHz = 8000; |
@@ -26,12 +26,12 @@ TEST(PitchInternalTest, test) { |
double lags[] = {90, 111, 122, 50}; |
// Expected outputs |
- double expected_log_pitch_gain[] = {-0.541212549898316, -1.45672279045507, |
- -0.80471895621705}; |
+ double expected_log_pitch_gain[] = { |
+ -0.541212549898316, -1.45672279045507, -0.80471895621705}; |
double expected_log_old_gain = log(gains[kNumInputParameters - 1]); |
- double expected_pitch_lag_hz[] = {92.3076923076923, 70.9010339734121, |
- 93.0232558139535}; |
+ double expected_pitch_lag_hz[] = { |
+ 92.3076923076923, 70.9010339734121, 93.0232558139535}; |
double expected_old_lag = lags[kNumInputParameters - 1]; |
double log_pitch_gain[kNumOutputParameters]; |