//===-- A template class for testing strfrom functions ----------*- C++ -*-===// // // 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 "src/__support/CPP/type_traits.h" #include "src/__support/FPUtil/FPBits.h" #include "test/UnitTest/Test.h" #define ASSERT_STREQ_LEN(actual_written, actual_str, expected_str) … template <typename InputT> class StrfromTest : public LIBC_NAMESPACE::testing::Test { … }; #define STRFROM_TEST(InputType, name, func) …