//===-- Unittests for Limits ----------------------------------------------===// // // 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/limits.h" #include "src/__support/big_int.h" #include "src/__support/macros/config.h" #include "src/__support/macros/properties/types.h" // LIBC_TYPES_HAS_INT128 #include "test/UnitTest/Test.h" namespace LIBC_NAMESPACE_DECL { // This just checks against the C spec, almost all implementations will surpass // this. TEST(LlvmLibcLimitsTest, LimitsFollowSpec) { … } TEST(LlvmLibcLimitsTest, UInt128Limits) { … } } // namespace LIBC_NAMESPACE_DECL