#include "ipcz/block_allocator.h"
#include <atomic>
#include <cstring>
#include <set>
#include <thread>
#include <vector>
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/abseil-cpp/absl/types/span.h"
namespace ipcz {
namespace {
constexpr size_t kPageSize = …;
constexpr size_t kBlockSize = …;
class BlockAllocatorTest : public testing::Test { … };
TEST_F(BlockAllocatorTest, Basic) { … }
TEST_F(BlockAllocatorTest, AllocUseFreeRace) { … }
TEST_F(BlockAllocatorTest, StressTest) { … }
}
}