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

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/test/estimators/nada_unittest.cc

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/modules/remote_bitrate_estimator/test/estimators/nada.h" 11 #include "webrtc/modules/remote_bitrate_estimator/test/estimators/nada.h"
12 12
13 #include <algorithm> 13 #include <algorithm>
14 #include <memory> 14 #include <memory>
15 #include <numeric> 15 #include <numeric>
16 16
17 #include "webrtc/base/arraysize.h"
18 #include "webrtc/base/constructormagic.h"
17 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h" 19 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h"
18 #include "webrtc/modules/remote_bitrate_estimator/test/packet.h" 20 #include "webrtc/modules/remote_bitrate_estimator/test/packet.h"
19 #include "webrtc/modules/remote_bitrate_estimator/test/packet_sender.h" 21 #include "webrtc/modules/remote_bitrate_estimator/test/packet_sender.h"
20 #include "webrtc/rtc_base/arraysize.h"
21 #include "webrtc/rtc_base/constructormagic.h"
22 #include "webrtc/test/gtest.h" 22 #include "webrtc/test/gtest.h"
23 #include "webrtc/test/testsupport/fileutils.h" 23 #include "webrtc/test/testsupport/fileutils.h"
24 24
25 namespace webrtc { 25 namespace webrtc {
26 namespace testing { 26 namespace testing {
27 namespace bwe { 27 namespace bwe {
28 28
29 class FilterTest : public ::testing::Test { 29 class FilterTest : public ::testing::Test {
30 public: 30 public:
31 void MedianFilterConstantArray() { 31 void MedianFilterConstantArray() {
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 for (int i = 1; i < kNumElements; ++i) { 488 for (int i = 1; i < kNumElements; ++i) {
489 EXPECT_EQ( 489 EXPECT_EQ(
490 exp_smoothed[i], 490 exp_smoothed[i],
491 static_cast<int64_t>(exp_smoothed[i - 1] * (1.0f - kAlpha) + 0.5f)); 491 static_cast<int64_t>(exp_smoothed[i - 1] * (1.0f - kAlpha) + 0.5f));
492 } 492 }
493 } 493 }
494 494
495 } // namespace bwe 495 } // namespace bwe
496 } // namespace testing 496 } // namespace testing
497 } // namespace webrtc 497 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698