// // Copyright 2021 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // CircularBuffer_unittest: // Tests of the CircularBuffer class // #include <gtest/gtest.h> #include "common/CircularBuffer.h" namespace angle { // Make sure the various constructors compile and do basic checks TEST(CircularBuffer, Constructors) { … } // Make sure the destructor destroys all elements. TEST(CircularBuffer, Destructor) { … } // Test circulating behavior. TEST(CircularBuffer, Circulate) { … } // Test iteration. TEST(CircularBuffer, Iterate) { … } // Tests buffer operations with a non copyable type. TEST(CircularBuffer, NonCopyable) { … } } // namespace angle