chromium/v8/test/unittests/heap/cppgc/free-list-unittest.cc

// Copyright 2020 the V8 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.

#include "src/heap/cppgc/free-list.h"

#include <memory>
#include <numeric>
#include <vector>

#include "src/base/bits.h"
#include "src/heap/cppgc/globals.h"
#include "src/heap/cppgc/heap-object-header.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace cppgc {
namespace internal {
namespace {

class Block {};

std::vector<Block> CreateEntries() {}

FreeList CreatePopulatedFreeList(const std::vector<Block>& blocks) {}

}  // namespace

TEST(FreeListTest, Empty) {}

TEST(FreeListTest, Add) {}

TEST(FreeListTest, AddWasted) {}

TEST(FreeListTest, Clear) {}

TEST(FreeListTest, Move) {}

TEST(FreeListTest, Append) {}

#ifdef DEBUG
TEST(FreeListTest, AppendSelf) {}
#endif

TEST(FreeListTest, Contains) {}

TEST(FreeListTest, Allocate) {}

}  // namespace internal
}  // namespace cppgc