#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "base/strings/string_number_conversions.h"
#include <errno.h>
#include <limits.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <string_view>
#include "base/bit_cast.h"
#include "base/format_macros.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
namespace {
template <typename INT>
struct NumberToStringTest { … };
}
TEST(StringNumberConversionsTest, NumberToString) { … }
TEST(StringNumberConversionsTest, Uint64ToString) { … }
TEST(StringNumberConversionsTest, SizeTToString) { … }
TEST(StringNumberConversionsTest, StringToInt) { … }
TEST(StringNumberConversionsTest, StringToUint) { … }
TEST(StringNumberConversionsTest, StringToInt64) { … }
TEST(StringNumberConversionsTest, StringToUint64) { … }
TEST(StringNumberConversionsTest, StringToSizeT) { … }
TEST(StringNumberConversionsTest, HexStringToInt) { … }
TEST(StringNumberConversionsTest, HexStringToUInt) { … }
TEST(StringNumberConversionsTest, HexStringToInt64) { … }
TEST(StringNumberConversionsTest, HexStringToUInt64) { … }
TEST(StringNumberConversionsTest, HexStringToBytesStringSpan) { … }
TEST(StringNumberConversionsTest, StringToDouble) { … }
TEST(StringNumberConversionsTest, DoubleToString) { … }
TEST(StringNumberConversionsTest, AppendHexEncodedByte) { … }
TEST(StringNumberConversionsTest, HexEncode) { … }
TEST(StringNumberConversionsTest, StrtodFailures) { … }
}