chromium/third_party/libaom/source/libaom/test/aom_integer_test.cc

/*
 * Copyright (c) 2018, Alliance for Open Media. All rights reserved.
 *
 * This source code is subject to the terms of the BSD 2 Clause License and
 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
 * was not distributed with this source code in the LICENSE file, you can
 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
 * Media Patent License 1.0 was not distributed with this source code in the
 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 */

#include "aom/aom_integer.h"
#include "gtest/gtest.h"

namespace {
const uint64_t kMaximumLeb128CodedSize =;
const uint8_t kLeb128PadByte =;  // Binary: 10000000
const uint64_t kMaximumLeb128Value =;
const uint32_t kSizeTestNumValues =;
const uint32_t kSizeTestExpectedSizes[kSizeTestNumValues] =;
const uint64_t kSizeTestInputs[kSizeTestNumValues] =;

const uint8_t kOutOfRangeLeb128Value[5] =;  // UINT32_MAX + 1
}  // namespace

TEST(AomLeb128, DecodeTest) {}

TEST(AomLeb128, EncodeTest) {}

TEST(AomLeb128, EncodeDecodeTest) {}

TEST(AomLeb128, FixedSizeEncodeTest) {}

TEST(AomLeb128, FixedSizeEncodeDecodeTest) {}

TEST(AomLeb128, SizeTest) {}

TEST(AomLeb128, DecodeFailTest) {}

TEST(AomLeb128, EncodeFailTest) {}