llvm/llvm/unittests/Support/ScaledNumberTest.cpp

//===- llvm/unittest/Support/ScaledNumberTest.cpp - ScaledPair tests -----==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "llvm/Support/ScaledNumber.h"
#include "llvm/Support/DataTypes.h"
#include "gtest/gtest.h"

usingnamespacellvm;
usingnamespacellvm::ScaledNumbers;

namespace {

template <class UIntT> struct ScaledPair {};
template <class UIntT>
bool operator==(const std::pair<UIntT, int16_t> &L,
                const ScaledPair<UIntT> &R) {}
template <class UIntT>
void PrintTo(const ScaledPair<UIntT> &F, ::std::ostream *os) {}

SP32;
SP64;

TEST(ScaledNumberHelpersTest, getRounded) {}

TEST(ScaledNumberHelpersTest, getAdjusted) {}

TEST(ScaledNumberHelpersTest, getProduct) {}

TEST(ScaledNumberHelpersTest, getQuotient) {}

TEST(ScaledNumberHelpersTest, getLg) {}

TEST(ScaledNumberHelpersTest, getLgFloor) {}

TEST(ScaledNumberHelpersTest, getLgCeiling) {}

TEST(ScaledNumberHelpersTest, compare) {}

TEST(ScaledNumberHelpersTest, matchScales) {}

TEST(ScaledNumberHelpersTest, getSum) {}

TEST(ScaledNumberHelpersTest, getDifference) {}

TEST(ScaledNumberHelpersTest, arithmeticOperators) {}

TEST(ScaledNumberHelpersTest, toIntBug) {}

static_assert;

} // end namespace