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

Unified Diff: webrtc/common_audio/real_fourier_unittest.cc

Issue 1227203003: Update audio code to use size_t more correctly, webrtc/common_audio/ portion. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 5 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
« no previous file with comments | « webrtc/common_audio/real_fourier_ooura.cc ('k') | webrtc/common_audio/sparse_fir_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_audio/real_fourier_unittest.cc
diff --git a/webrtc/common_audio/real_fourier_unittest.cc b/webrtc/common_audio/real_fourier_unittest.cc
index 526f762baa705cb31578b58a2f532916f09240d5..5c8542138b60b9cacdea2e3992a5c179d2ab1f7b 100644
--- a/webrtc/common_audio/real_fourier_unittest.cc
+++ b/webrtc/common_audio/real_fourier_unittest.cc
@@ -46,12 +46,12 @@ TEST(RealFourierStaticsTest, OrderComputation) {
}
TEST(RealFourierStaticsTest, ComplexLengthComputation) {
- EXPECT_EQ(2, RealFourier::ComplexLength(1));
- EXPECT_EQ(3, RealFourier::ComplexLength(2));
- EXPECT_EQ(5, RealFourier::ComplexLength(3));
- EXPECT_EQ(9, RealFourier::ComplexLength(4));
- EXPECT_EQ(17, RealFourier::ComplexLength(5));
- EXPECT_EQ(65, RealFourier::ComplexLength(7));
+ EXPECT_EQ(2U, RealFourier::ComplexLength(1));
+ EXPECT_EQ(3U, RealFourier::ComplexLength(2));
+ EXPECT_EQ(5U, RealFourier::ComplexLength(3));
+ EXPECT_EQ(9U, RealFourier::ComplexLength(4));
+ EXPECT_EQ(17U, RealFourier::ComplexLength(5));
+ EXPECT_EQ(65U, RealFourier::ComplexLength(7));
}
template <typename T>
« no previous file with comments | « webrtc/common_audio/real_fourier_ooura.cc ('k') | webrtc/common_audio/sparse_fir_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698