#include "base/containers/circular_deque.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"
#include "base/test/copy_only_int.h"
#include "base/test/gtest_util.h"
#include "base/test/move_only_int.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
VectorBuffer;
ElementsAre;
namespace base {
namespace {
circular_deque<int> MakeSequence(size_t max) { … }
template <class QueueT, class Tester>
void CycleTest(circular_deque<QueueT>& queue, const Tester& tester) { … }
class DestructorCounter { … };
class RefCountChangeCounter { … };
}
TEST(CircularDeque, FillConstructor) { … }
TEST(CircularDeque, IteratorConstructor) { … }
TEST(CircularDeque, MoveConstructor) { … }
TEST(CircularDeque, InitializerListConstructor) { … }
TEST(CircularDeque, RangeConstructor) { … }
TEST(CircularDeque, Destructor) { … }
TEST(CircularDeque, EqualsCopy) { … }
TEST(CircularDeque, EqualsMove) { … }
TEST(CircularDeque, EqualsSelf) { … }
TEST(CircularDeque, EqualsInitializerList) { … }
TEST(CircularDeque, AssignCountValue) { … }
TEST(CircularDeque, AssignIterator) { … }
TEST(CircularDeque, AssignInitializerList) { … }
TEST(CircularDeque, AssignRange) { … }
TEST(CircularDeque, At) { … }
TEST(CircularDeque, FrontBackPushPop) { … }
TEST(CircularDeque, ReallocateWithSplitBuffer) { … }
TEST(CircularDeque, Swap) { … }
TEST(CircularDeque, Iteration) { … }
TEST(CircularDeque, IteratorComparisons) { … }
TEST(CircularDeque, IteratorIncDec) { … }
TEST(CircularDeque, IteratorIntegerOps) { … }
TEST(CircularDeque, IteratorArrayAccess) { … }
TEST(CircularDeque, ReverseIterator) { … }
TEST(CircularDeque, CapacityReserveShrink) { … }
TEST(CircularDeque, CapacityAutoShrink) { … }
TEST(CircularDeque, ClearAndEmpty) { … }
TEST(CircularDeque, Resize) { … }
TEST(CircularDeque, ResizeDelete) { … }
TEST(CircularDeque, InsertEraseSingle) { … }
TEST(CircularDeque, InsertFill) { … }
TEST(CircularDeque, InsertFromPointers) { … }
TEST(CircularDeque, InsertEraseRange) { … }
TEST(CircularDeque, EmplaceMoveOnly) { … }
TEST(CircularDeque, EmplaceFrontBackReturnsReference) { … }
TEST(CircularDeque, UseIteratorAfterMutate) { … }
TEST(CircularDeque, DoesntChurnRefCount) { … }
TEST(CircularDeque, EraseBoundaryConditions) { … }
TEST(CircularDeque, InsertBoundaryConditions) { … }
}