llvm/libc/test/src/string/memcmp_test.cpp

//===-- Unittests for memcmp ----------------------------------------------===//
//
// 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 "memory_utils/memory_check_utils.h"
#include "src/__support/macros/config.h"
#include "src/string/memcmp.h"
#include "test/UnitTest/Test.h"
#include "test/UnitTest/TestLogger.h"

namespace LIBC_NAMESPACE_DECL {

TEST(LlvmLibcMemcmpTest, CmpZeroByte) {}

TEST(LlvmLibcMemcmpTest, LhsRhsAreTheSame) {}

TEST(LlvmLibcMemcmpTest, LhsBeforeRhsLexically) {}

TEST(LlvmLibcMemcmpTest, LhsAfterRhsLexically) {}

TEST(LlvmLibcMemcmpTest, Issue77080) {}

// Adapt CheckMemcmp signature to memcmp.
static inline int Adaptor(cpp::span<char> p1, cpp::span<char> p2, size_t size) {}

TEST(LlvmLibcMemcmpTest, SizeSweep) {}

} // namespace LIBC_NAMESPACE_DECL