OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/quic/interval_set.h" | 5 #include "net/quic/core/interval_set.h" |
6 | 6 |
7 #include <stdarg.h> | 7 #include <stdarg.h> |
8 | 8 |
9 #include <iostream> | 9 #include <iostream> |
10 #include <iterator> | 10 #include <iterator> |
11 #include <limits> | 11 #include <limits> |
12 | 12 |
13 #include "net/test/gtest_util.h" | 13 #include "net/test/gtest_util.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 | 15 |
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
972 IntervalSet<int> s{{0, 1}, {2, 3}, {3, 4}}; | 972 IntervalSet<int> s{{0, 1}, {2, 3}, {3, 4}}; |
973 s = {{0, 1}, {2, 4}}; | 973 s = {{0, 1}, {2, 4}}; |
974 EXPECT_THAT(s, ElementsAreArray(intervals_)); | 974 EXPECT_THAT(s, ElementsAreArray(intervals_)); |
975 } | 975 } |
976 | 976 |
977 #endif // 0 | 977 #endif // 0 |
978 | 978 |
979 } // namespace | 979 } // namespace |
980 } // namespace test | 980 } // namespace test |
981 } // namespace net | 981 } // namespace net |
OLD | NEW |