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

//===-- Unittests for bcmp ------------------------------------------------===//
//
// 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/bcmp.h"
#include "test/UnitTest/Test.h"
#include "test/UnitTest/TestLogger.h"

namespace LIBC_NAMESPACE_DECL {

TEST(LlvmLibcBcmpTest, CmpZeroByte) {}

TEST(LlvmLibcBcmpTest, LhsRhsAreTheSame) {}

TEST(LlvmLibcBcmpTest, LhsBeforeRhsLexically) {}

TEST(LlvmLibcBcmpTest, LhsAfterRhsLexically) {}

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

TEST(LlvmLibcBcmpTest, SizeSweep) {}

} // namespace LIBC_NAMESPACE_DECL