1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/containers/adapters.h"
9 #include "testing/gtest/include/gtest/gtest.h"
13 TEST(AdaptersTest
, Reversed
) {
19 for (int& i
: base::Reversed(v
)) {
28 TEST(AdaptersTest
, ConstReversed
) {
33 const std::vector
<int>& cv
= v
;
35 for (int i
: base::Reversed(cv
)) {