chromium/components/zucchini/algorithm_unittest.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/zucchini/algorithm.h"

#include <stddef.h>
#include <stdint.h>

#include "base/bit_cast.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace zucchini {

namespace {

// Casting functions to specify signed 8-bit and 16-bit integer constants.
// For example, signed8(0xFF) == int8_t(-1).
inline int8_t signed8(uint8_t v) {}

inline int32_t signed16(uint16_t v) {}

}  // namespace

TEST(AlgorithmTest, RangeIsBounded) {}

TEST(AlgorithmTest, RangeCovers) {}

TEST(AlgorithmTest, InclusiveClamp) {}

TEST(AlgorithmTest, AlignCeil) {}

TEST(AlgorithmTest, IncrementForAlignCeil) {}

TEST(AlgorithmTest, GetBit) {}

TEST(AlgorithmTest, GetBits) {}

TEST(AlgorithmTest, SignExtend) {}

TEST(AlgorithmTest, SignExtendTemplated) {}

TEST(AlgorithmTest, SignedFit) {}

}  // namespace zucchini