llvm/llvm/unittests/Support/NativeFormatTests.cpp

//===- llvm/unittest/Support/NativeFormatTests.cpp - formatting 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/NativeFormatting.h"
#include "llvm/Support/raw_ostream.h"
#include "gtest/gtest.h"

#include <type_traits>

usingnamespacellvm;

namespace {

template <typename T> std::string format_number(T N, IntegerStyle Style) {}

std::string format_number(uint64_t N, HexPrintStyle Style,
                          std::optional<size_t> Width = std::nullopt) {}

std::string format_number(double D, FloatStyle Style,
                          std::optional<size_t> Precision = std::nullopt) {}

// Test basic number formatting with various styles and default width and
// precision.
TEST(NativeFormatTest, BasicIntegerTests) {}

// Test basic floating point formatting with various styles and default width
// and precision.
TEST(NativeFormatTest, BasicFloatingPointTests) {}

// Test common boundary cases and min/max conditions.
TEST(NativeFormatTest, BoundaryTests) {}

TEST(NativeFormatTest, HexTests) {}

TEST(NativeFormatTest, IntegerTests) {}

TEST(NativeFormatTest, CommaTests) {}
}