chromium/third_party/angle/src/common/FastVector_unittest.cpp

//
// Copyright 2018 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.
//
// FixedVector_unittest:
//   Tests of the FastVector class
//

#include <gtest/gtest.h>

#include "common/FastVector.h"

namespace angle
{
// Make sure the various constructors compile and do basic checks
TEST(FastVector, Constructors)
{}

// Test indexing operations (at, operator[])
TEST(FastVector, Indexing)
{}

// Test the push_back functions
TEST(FastVector, PushBack)
{}

// Tests growing the fast vector beyond the fixed storage.
TEST(FastVector, Growth)
{}

// Test the pop_back function
TEST(FastVector, PopBack)
{}

// Test the back function
TEST(FastVector, Back)
{}

// Test the back function
TEST(FastVector, Front)
{}

// Test the sizing operations
TEST(FastVector, Size)
{}

// Test clearing the vector
TEST(FastVector, Clear)
{}

// Test clearing the vector larger than the fixed size.
TEST(FastVector, ClearWithLargerThanFixedSize)
{}

// Test resizing the vector
TEST(FastVector, Resize)
{}

// Test resetWithRawData on the vector
TEST(FastVector, resetWithRawData)
{}

// Test iterating over the vector
TEST(FastVector, Iteration)
{}

// Tests that equality comparisons work even if reserved size differs.
TEST(FastVector, EqualityWithDifferentReservedSizes)
{}

// Tests vector operations with a non copyable type.
TEST(FastVector, NonCopyable)
{}

// Basic functionality for FlatUnorderedMap
TEST(FlatUnorderedMap, BasicUsage)
{}

// Basic functionality for FlatUnorderedSet
TEST(FlatUnorderedSet, BasicUsage)
{}

// Comparison of FlatUnorderedSet
TEST(FlatUnorderedSet, Comparison)
{}

// Basic usage tests of fast map.
TEST(FastMap, Basic)
{}
}  // namespace angle