#include "aom/aom_integer.h"
#include "gtest/gtest.h"
namespace {
const uint64_t kMaximumLeb128CodedSize = …;
const uint8_t kLeb128PadByte = …;
const uint64_t kMaximumLeb128Value = …;
const uint32_t kSizeTestNumValues = …;
const uint32_t kSizeTestExpectedSizes[kSizeTestNumValues] = …;
const uint64_t kSizeTestInputs[kSizeTestNumValues] = …;
const uint8_t kOutOfRangeLeb128Value[5] = …;
}
TEST(AomLeb128, DecodeTest) { … }
TEST(AomLeb128, EncodeTest) { … }
TEST(AomLeb128, EncodeDecodeTest) { … }
TEST(AomLeb128, FixedSizeEncodeTest) { … }
TEST(AomLeb128, FixedSizeEncodeDecodeTest) { … }
TEST(AomLeb128, SizeTest) { … }
TEST(AomLeb128, DecodeFailTest) { … }
TEST(AomLeb128, EncodeFailTest) { … }