chromium/third_party/abseil-cpp/absl/numeric/int128_stream_test.cc

// Copyright 2017 The Abseil Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include "absl/numeric/int128.h"

#include <sstream>
#include <string>

#include "gtest/gtest.h"
#include "absl/strings/str_cat.h"

namespace {

struct Uint128TestCase {};

constexpr char kFill =;

std::string StreamFormatToString(std::ios_base::fmtflags flags,
                                 std::streamsize width) {}

constexpr std::ios::fmtflags kDec =;
constexpr std::ios::fmtflags kOct =;
constexpr std::ios::fmtflags kHex =;
constexpr std::ios::fmtflags kLeft =;
constexpr std::ios::fmtflags kInt =;
constexpr std::ios::fmtflags kRight =;
constexpr std::ios::fmtflags kUpper =;
constexpr std::ios::fmtflags kBase =;
constexpr std::ios::fmtflags kPos =;

void CheckUint128Case(const Uint128TestCase& test_case) {}

TEST(Uint128, OStreamValueTest) {}

std::vector<Uint128TestCase> GetUint128FormatCases();

TEST(Uint128, OStreamFormatTest) {}

struct Int128TestCase {};

void CheckInt128Case(const Int128TestCase& test_case) {}

TEST(Int128, OStreamValueTest) {}

std::vector<Int128TestCase> GetInt128FormatCases();
TEST(Int128, OStreamFormatTest) {}

std::vector<Int128TestCase> GetInt128FormatCases() {}

std::vector<Uint128TestCase> GetUint128FormatCases() {}

}  // namespace