#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include <algorithm>
#include <vector>
#include "base/rand_util.h"
#include "mojo/public/cpp/base/big_buffer.h"
#include "mojo/public/cpp/base/big_buffer_mojom_traits.h"
#include "mojo/public/cpp/test_support/test_utils.h"
#include "mojo/public/mojom/base/big_buffer.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo_base {
namespace big_buffer_unittest {
namespace {
bool BufferEquals(const BigBuffer& a, const BigBuffer& b) { … }
}
TEST(BigBufferTest, EmptyBuffer) { … }
TEST(BigBufferTest, SmallDataSize) { … }
TEST(BigBufferTest, LargeDataSize) { … }
TEST(BigBufferTest, InvalidBuffer) { … }
}
}