#include "quiche/common/quiche_endian.h"
#include "quiche/common/platform/api/quiche_test.h"
namespace quiche {
namespace test {
namespace {
const uint16_t k16BitTestData = …;
const uint16_t k16BitSwappedTestData = …;
const uint32_t k32BitTestData = …;
const uint32_t k32BitSwappedTestData = …;
const uint64_t k64BitTestData = …;
const uint64_t k64BitSwappedTestData = …;
class QuicheEndianTest : public QuicheTest { … };
TEST_F(QuicheEndianTest, Portable) { … }
TEST_F(QuicheEndianTest, HostToNet) { … }
TEST_F(QuicheEndianTest, NetToHost) { … }
}
}
}