//===-- Unittests for MemorySize ------------------------------------------===// // // 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/macros/config.h" #include "src/__support/memory_size.h" #include "test/UnitTest/Test.h" namespace LIBC_NAMESPACE_DECL { namespace internal { static inline constexpr size_t SAFE_MEM_SIZE_TEST_LIMIT = …; TEST(LlvmLibcMemSizeTest, Constuction) { … } TEST(LlvmLibcMemSizeTest, Addition) { … } TEST(LlvmLibcMemSizeTest, Multiplication) { … } TEST(LlvmLibcMemSizeTest, AlignUp) { … } TEST(LlvmLibcBlockBitTest, OffsetTo) { … } } // namespace internal } // namespace LIBC_NAMESPACE_DECL