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

Unified Diff: webrtc/common_audio/signal_processing/signal_processing_unittest.cc

Issue 1172163004: Reformat existing code. There should be no functional effects. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 6 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/common_audio/signal_processing/signal_processing_unittest.cc
diff --git a/webrtc/common_audio/signal_processing/signal_processing_unittest.cc b/webrtc/common_audio/signal_processing/signal_processing_unittest.cc
index 12b2fffbeeb693f2069f09ca724aac6b8fa7a2ee..cc05dfa88fa7f7edf8f40a22c041042cbea4c272 100644
--- a/webrtc/common_audio/signal_processing/signal_processing_unittest.cc
+++ b/webrtc/common_audio/signal_processing/signal_processing_unittest.cc
@@ -495,10 +495,11 @@ TEST_F(SplTest, AutoCorrelationTest) {
const int32_t expected[kVector16Size] = {302681398, 14223410, -121705063,
-85221647, -17104971, 61806945, 6644603, -669329, 43};
- EXPECT_EQ(-1, WebRtcSpl_AutoCorrelation(vector16,
- kVector16Size, kVector16Size + 1, vector32, &scale));
- EXPECT_EQ(kVector16Size, WebRtcSpl_AutoCorrelation(vector16,
- kVector16Size, kVector16Size - 1, vector32, &scale));
+ EXPECT_EQ(-1, WebRtcSpl_AutoCorrelation(vector16, kVector16Size,
+ kVector16Size + 1, vector32, &scale));
+ EXPECT_EQ(kVector16Size,
+ WebRtcSpl_AutoCorrelation(vector16, kVector16Size,
+ kVector16Size - 1, vector32, &scale));
EXPECT_EQ(3, scale);
for (int i = 0; i < kVector16Size; ++i) {
EXPECT_EQ(expected[i], vector32[i]);

Powered by Google App Engine
This is Rietveld 408576698